Jump to content

[SOLVED] hide directory index


raman

Recommended Posts

I tried to add the line Indexes off at different places in the httpd.conf file

and then gave the command to restart apache but this gives an error:

Invalid command 'Indexes', perhaps mis-spelled or defined by a module not included in the server configuration.

Please suggest.

 

Thank you, this worked. I used the following:

<Directory /usr/local/apache2/htdocs/bladirectory >

  Options -Indexes

</Directory>

 

I want to be able to see the index locally on my machine or from any machine on my network, what more should I add in this ?

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.