Jump to content

. htaccess options?


DmC

Recommended Posts

If you want to hide a directory listing, please put a blank index.html in the folder. Not sure about the latest Tommy (I'm going to test it once my test account finishes setting back up), but the last time I messed with this, the Indexes option was supported in subfolders but not domain roots. Plesk doesn't support it properly.

The settings that can be changed through .htaccess are limited to specific settings as well. If you use an invalid one, it'll either be ignored, or produce a 500 error with a message in the log explaining the issue.

Getting the directory listings working at all was a major effort on Krydos's part. Our old cPanel servers had them visible by default, and all of us staff-side wanted that back because it reduces support cases (you'd be surprised how many people contacted us about the 403 error that you get if they're turned off, or because they didn't delete a default index.html file when we included one) and it makes spotting abuse easier (phishers notably tend to be stupid and not hide the listings, so we can literally just flip through them, see "my_phis_site" sitting there and ban them).

Link to comment
Share on other sites

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...