how to fix the problem that .htaccess is not allowed in a vsite ?
<Directory "/home/.sites/143/site2/web">
AllowOverride All
</Directory>
above is working for normal site
<Directory "/home/.sites/143/site2/vsites/feeds/web/">
AllowOverride All
</Directory>
<Directory "/home/sites/www.aroundmyroom.com/vsites/feeds/web/">
AllowOverride All
</Directory>
but including this for a vsite is not working
server is restarted
but still the apache 500 error
/var/log/httpd/error_log shows:
.htaccess: RewriteEngine not allowed here
part of .htaccess is
# Disable MultiViews: we want the real thing
# http://httpd.apache.org/docs-2.0/mod/mod_negotiation.html#multiviews
# Options -MultiViews
# AddDefaultCharset utf-8
<IfModule mod_rewrite.c>
RewriteEngine on
# If we have a file or a directory match then lets set the
# static variable
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [E=static:1]
SetEnvIf Request_URI "/css/" static
SetEnvIf Request_URI "/img/" static
SetEnvIf Request_URI "/admin/" static
SetEnvIf Request_URI "/extlib/" static
SetEnvIf Request_URI "/test/" static
SetEnvIf Request_URI "/themes/" static
SetEnvIf Request_URI "/plugins/" static
# You can add other lines here to have static content
# under a gregarius installation.