LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   No Directory index in apache (https://www.linuxquestions.org/questions/linux-newbie-8/no-directory-index-in-apache-454265/)

xpucto 06-13-2006 03:54 AM

No Directory index in apache
 
Hi!
I forgot how to turn off the possibility for a user to see the listing of all files of a directory. So if a user gives then he shouldn't be abble to see all the files listed in the directory pictures.
I can't remember what I have to add in httpd.conf and couldn't find it in the documentation.

Thanks a lot.

raskin 06-13-2006 06:31 AM

Look up "Indexes" in your configs. Maybe in .htaccess you should place "Options -Indexes".

xpucto 06-14-2006 08:00 AM

Quote:

Originally Posted by raskin
Look up "Indexes" in your configs. Maybe in .htaccess you should place "Options -Indexes".

Thank you.
Quote:

Options -Indexes
in httpd.conf was what I was looking for.


All times are GMT -5. The time now is 09:18 PM.