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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Directory listing

Status
Not open for further replies.

91Stomperud

Technical User
Apr 5, 2003
8
0
0
NO
Hi,

How does one prevent visitors from seeing a directory listing? What I am after is the famos "Forbidden" message.

Regards
 
In your virtual host config put

<Directory /path/to/your/document/root>
Options -Indexes
</Directory>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top