Page 1 of 1

preventing forom a folder to be browsed

Posted: Sun Jul 18, 2004 7:35 am
by pelegk2
how can i prvent a folder from being browsed in the "httpd.conf"
file?
thnaks i nadvance
peleg

Posted: Sun Jul 18, 2004 11:21 am
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>