Jump to content

Recommended Posts

Posted

Good day! I’d like to ask why the Options -Indexes directive in the .htaccess file of a certain directory doesn’t seem to work. It works fine on my local machine.

Posted

It's just not supported.

Plesk doesn't officially have the listings enabled by default, so we made changes to have it do that (it was the same behavior our old cPanel servers had, we were tired of support tickets to explain the 403 error that Plesk showed by default, users preferred it and often asked for them to be enabled, and it often makes abuse stand out since they wouldn't hide the listing and leave files like "script phising.zip" in their root...yes that was a real file we found). Specifically, we forced it in the Apache config. Apache doesn't always let you override that option for some reason (the Options line in general doesn't very work well on Plesk).

The easiest way to accomplish this on our service is to just put an empty index.html in the folder...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...