Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Directory browsing

Status
Not open for further replies.

abovebrd

IS-IT--Management
Joined
May 9, 2000
Messages
690
Location
US
Currently all of directories that belong to the document root are browsable.

Rather than put an index page in every directory is there a apache directive that will do this.



-Danny






 
I believe what your asking for is in the httpd.conf file and edit the area I've shown
as follows. The key in the options it I believe not to have indexing in there.

# This may also be "None", "All", or any combination of "Indexes",
# "Includes", "FollowSymLinks", "ExecCGI", or "MultiViews".
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
Options FollowSymLinks Includes ExecCGI

Although later you may have in httpd.conf this:

# Directives controlling the display of server-generated directory listings.
# FancyIndexing is whether you want fancy directory indexing or standard
#
IndexOptions FancyIndexing

Which is ok to leave

Hope this is of help
Maxit
 
How can I turn off FancyIndexing I don't want my directories browseable. There must be a .htm file or nothing should show.

Thanks

Brandt

I am on apache on SCO 5.07
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top