[BlueOnyx:01010] Re: .htaccess Error

Rob Taylor blueonyx at uspec.co.uk
Wed Apr 8 03:47:29 -05 2009


--On 07 April 2009 18:32 +0100 Richard Sidlin <richard at sidlin.co.uk> wrote:

> I'm afraid that doesn't appear to have made any difference. I am still 
> getting this error in the https error log:
> 
> [Tue Apr 07 18:25:50 2009] [error] [client 82.16.219.152] Options 
> FollowSymLinks or SymLinksIfOwnerMatch is off which implies that RewriteRule 
> directive is forbidden: /home/.sites/28/site1/web/
> 
> This is what I put in vhosts/site1.include
> 
># /etc/httpd/conf/vhosts/site1.include
># user customizations can be added here.
> <Directory "/home/.sites/28/site1/web">
>     AllowOverride All
>     Options All
> </Directory>


I agree with Gustavo's view on restricting it to individual sites that need it rather than doing it 'across the board', try:

<Directory /home/.sites/**/site*/web>
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>

It works for me for doing rewrites!

Thanks
Rob





More information about the Blueonyx mailing list