Sebastian Welsh said:
> You may need to edit httpd.conf at least once :-( In the relevant
> AllowOverride AuthConfig
>
> <Directory /var/www/>
> Options Indexes Includes FollowSymLinks MultiViews
> # AllowOverride None
> AllowOverride AuthConfig
> Order allow,deny
> Allow from all
> </Directory>
>
> Alternatively you could create a specific Directory section for your
> subdirectory. However including the AuthConfig directive at the document
> root
> would allow you to add controls to future subdirectories without the need
> to rejig your server.
thanks, Seb
yes, I prefer the first option
I have multiple name vhosts, Id' like it to apply to all vhosts, if
possible, looking at what I currently have, is:
in the main httpd.conf:
...
#DocumentRoot "/var/www/html"
DocumentRoot "/home/sbt/www"
<Directory />
Options FollowSymLinks
AllowOverride AuthConfig
</Directory>
#<Directory "/var/www/html">
<Directory "/home/sbt/www">
Options Indexes FollowSymLinks +IncludesNOEXEC
AllowOverride None
# AllowOverride All
Order allow,deny
Allow from all
</Directory>
so, does above mean that it will allow AuthConfig in the web root of
/home/www/sbt/ ?
can I enable it for all vhosts ?
the vhosts have individual name.tld.conf files, like:
<VirtualHost 203.42.34.54:80>
ServerAdmin [EMAIL PROTECTED]
DocumentRoot /home/russelllea/www
ServerName www.russelllea
ErrorDocument 404 /index.html
</VirtualHost>
or, do I need an individual entry for each vhost ?
--
Voytek
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html