preventing forom a folder to be browsed

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
User avatar
pelegk2
Forum Regular
Posts: 633
Joined: Thu Nov 27, 2003 5:02 am
Location: Israel - the best place to live in after heaven
Contact:

preventing forom a folder to be browsed

Post by pelegk2 »

how can i prvent a folder from being browsed in the "httpd.conf"
file?
thnaks i nadvance
peleg
User avatar
JAM
DevNet Resident
Posts: 2101
Joined: Fri Aug 08, 2003 6:53 pm
Location: Sweden
Contact:

Post by JAM »

By using Deny From All you can do wonders. In the .conf you might have something similiar to:

Code: Select all

<Directory /usr/users/forbidden>
    Options Indexes MultiViews
    AllowOverride None
    Order Deny,Allow
    Deny from All
</Directory>
Post Reply