Caspar Gomez
13/12/07, 01:57
Mijn mod_rewrite functioneert niet meer 100% sinds verhuizing:
vhost.conf
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{HTTP_HOST} !^www.google.nl$
RewriteCond %{HTTP_HOST} ^(www\.)?(([^\.]+)\.){1}google\.nl$
RewriteCond /var/www/vhosts/google.nl/httpdocs/%3 -d
RewriteRule ^/(.*) /%3/$1
</IfModule>.htaccess (ander domein):
RewriteEngine On
RewriteBase /movie/
RewriteRule ^(.*)-p-(.*).html$ product_info.php?products_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-c-(.*).html$ default.php?cPath=$2&%{QUERY_STRING}
RewriteRule ^(.*)-m-(.*).html$ default.php?manufacturers_id=$2&%{QUERY_STRING}Ook .htaccess mod-rewrites functioneren niet.
Dit moet toch gewoon werken aangezien mod_rewrite gewoon aan staat in httpd.conf?
vhost.conf
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{HTTP_HOST} !^www.google.nl$
RewriteCond %{HTTP_HOST} ^(www\.)?(([^\.]+)\.){1}google\.nl$
RewriteCond /var/www/vhosts/google.nl/httpdocs/%3 -d
RewriteRule ^/(.*) /%3/$1
</IfModule>.htaccess (ander domein):
RewriteEngine On
RewriteBase /movie/
RewriteRule ^(.*)-p-(.*).html$ product_info.php?products_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-c-(.*).html$ default.php?cPath=$2&%{QUERY_STRING}
RewriteRule ^(.*)-m-(.*).html$ default.php?manufacturers_id=$2&%{QUERY_STRING}Ook .htaccess mod-rewrites functioneren niet.
Dit moet toch gewoon werken aangezien mod_rewrite gewoon aan staat in httpd.conf?