Visit the LQ Articles and Editorials section
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 05-10-2004, 03:22 PM   #1
LQ Newbie
Registered: Apr 2004
Location: Brazil
Distribution: Fedora
Posts: 4

Rep: Reputation: 0
Question 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

Can someone help?

Old 05-10-2004, 03:27 PM   #2
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 65
Try adding "-Indexes" to the Options directive.
Old 05-10-2004, 03:53 PM   #3
LQ Newbie
Registered: Apr 2004
Location: Brazil
Distribution: Fedora
Posts: 4

Original Poster
Rep: Reputation: 0

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

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
httpd directories cambie Linux - Software 2 01-07-2005 12:43 AM
Httpd.conf And Httpd2.conf ???? alejandroye Linux - General 2 11-07-2004 01:23 AM
httpd.conf & ssl.conf kevinm2 Linux - Security 12 08-31-2004 02:25 PM
saving changes to apache2/conf/httpd.conf file Zaius Linux - Newbie 6 01-10-2004 12:45 AM
httpd chokes on ScriptAlias line in Apache httpd.conf lhoff Linux - Software 1 07-14-2003 11:32 PM

All times are GMT -5. The time now is 09:58 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration