On Sun, 15 May 2005, kashani wrote:

> I'm guessing that you haven't defined /var/www/* as directories and
> given them permissions. In my Apache1 installtion I have these lines in
> commonapache.conf.
>
> #Restricted set of options
> <Directory />
>    Options -All -Multiviews
>    AllowOverride None
>    Order deny,allow
>    Deny from all
> </Directory>

On one of web servers, all the vhosts are under /home so instead of adding
the directives to each vhost, I simply have this in commonapache.conf:

<Directory /home/*/html>
    AllowOverride All
    Options MultiViews -Indexes Includes FollowSymLinks
    Order allow,deny
    Allow from all
</Directory>

<Directory /home/*/cgi-bin>
     Options +ExecCGI -Includes -Indexes
     SetHandler cgi-script
</Directory>


-- 

-- 
gentoo-user@gentoo.org mailing list

Reply via email to