Jump to content

[SOLVED] How do I disable directory listing in Apache 2.0.2?


tibberous

Recommended Posts

The most likely causes are that you had a syntax error in your .htaccess or the main httpd.conf has AllowOverride set to None.

 

You shouldn't need a directory section in the .htaccess since the .htaccess should be in the directory you want to protect.  The only line you should need is:

 

Options -Indexes

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.