LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Hide directories using httpd.conf (https://www.linuxquestions.org/questions/linux-networking-3/hide-directories-using-httpd-conf-180028/)

mell 05-10-2004 02:22 PM

Hide directories using httpd.conf
 
Hi, I know this is probably a silly question, but how do i hide directories tree and files in a web page? Using httpd.conf

I thing it's on this part of the file, but i'm not sure:

<Directory /home/xxx>
AllowOverride None
Options FollowSymLinks
</Directory>

Can someone help?

Thanks,
Mell

david_ross 05-10-2004 02:27 PM

Try adding "-Indexes" to the Options directive.

mell 05-10-2004 02:53 PM

I thought that adding ',NoIndex' would do it.

:confused:
I can't stop the service for long... I have to be sure before doing anything...
:cry:


All times are GMT -5. The time now is 01:11 AM.