httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <jos...@slive.ca>
Subject Re: [users@httpd] Turning Directory Browsing Off
Date Tue, 16 May 2006 17:40:33 GMT
On 5/16/06, Mark McCulligh <mmcculli@visualtech.ca> wrote:

> What should it look like?  I have a default Directory set to Deny all
> (Install default)
> <Directory />
>   Options FollowSynLinks
>   AllowOverride None
>   Order deny, allow
>   Deny from all
> </Directory>
>
> I then have my Virtual Host websites in the folder /www and made this
> directory available.
> <Directory "/www">
>   Options -Indexes FollowSyncLinks
>   AllowOverride None
>   Order Allow, deny
>   Allow from all
> </Directory>
>

There is still no "FollowSyncLinks" option.  You mean "FollowSymLinks".

You do not need the "-Indexes" part.  If indexes is not present on the
line, then they are turned off (as long as the other options on the
line do not use +/-).

The <Directory /www> is correct only if /www is a directory off the
root of your filesystem.  In other words, you can get there by going
"cd /www" at the unix prompt.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message