Disable directory browsing – breaks WordPress
Turning on the “Indexes” option under “htaccess Suggestions” to disable directory browsing causes me to immediately lose access to my WordPress site, both public and admin site. The only way to fix it is to SSH into the server and manually remove “Options All -Indexes” from the .htaccess file.
Interestingly, I found this page that described the same action (“Options All -Indexes”) to disable directory browsing, so I’m wondering if I’m doing something wrong.
The error page I get is when simply trying to hit the home page:
You don’t have permission to access the requested directory. There is either no index document or the directory is read-protected.
If you think this is a server error, please contact the webmaster.
Sat Aug 16 04:41:18 2014
Apache mod_fcgid/2.3.7 mod_auth_pgsql/2.0.3
- The topic ‘Disable directory browsing – breaks WordPress’ is closed to new replies.