miko67
Apr 16th 2005, 12:00 am
Why doesn't this work?
RewriteEngine on
RewriteBase /~quux/
RewriteRule ^bogforingsprogram-bogforings-system\.html$ bogfoeringsprogram-bogfoerings-system.html [R]
RewriteRule ^gratis-bogforingsprogram\.html$ gratis-bogfoeringsprogram.html [R]
RewriteRule ^pris-paa-bogforing\.html$ pris-paa-bogfoering.html [R]
It's been made like stated here in the "Content Handling (http://content%20handling/)" section in http://httpd.apache.org/docs-2.0/misc/rewriteguide.html but doesn't work at all.
I also made a general rewrite like this:
RewriteEngine on
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^bogholderiet\.frac\.dk
RewriteRule ^(.*)$ http://www.bogholderiet.frac.dk/$1 (http://www.bogholderiet.frac.dk/$1) [R=permanent,L]
that works like a charm...
RewriteEngine on
RewriteBase /~quux/
RewriteRule ^bogforingsprogram-bogforings-system\.html$ bogfoeringsprogram-bogfoerings-system.html [R]
RewriteRule ^gratis-bogforingsprogram\.html$ gratis-bogfoeringsprogram.html [R]
RewriteRule ^pris-paa-bogforing\.html$ pris-paa-bogfoering.html [R]
It's been made like stated here in the "Content Handling (http://content%20handling/)" section in http://httpd.apache.org/docs-2.0/misc/rewriteguide.html but doesn't work at all.
I also made a general rewrite like this:
RewriteEngine on
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^bogholderiet\.frac\.dk
RewriteRule ^(.*)$ http://www.bogholderiet.frac.dk/$1 (http://www.bogholderiet.frac.dk/$1) [R=permanent,L]
that works like a charm...