olaf
06-01-2004, 04:49 AM
Hallo,
I'm just started with mod_rewrite. I followed the instructions of tutorial but it will not work.
I modified my apache config file (both add & load module)
I have a .htaccess file (this file works for a 404 error too) with this code:
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^/local/([a-z]{2})/([A-Z]{2}$) /languages/uk/english.php?lang=$1&sec_lang=$2
</IfModule>
ErrorDocument 404 /error.php?err=404
after this i want to call my page like this:
http://myserver/local/pl/PL
It will not work and the .htaccess shows up the error doc.
whats wrong? Please help...
I'm just started with mod_rewrite. I followed the instructions of tutorial but it will not work.
I modified my apache config file (both add & load module)
I have a .htaccess file (this file works for a 404 error too) with this code:
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^/local/([a-z]{2})/([A-Z]{2}$) /languages/uk/english.php?lang=$1&sec_lang=$2
</IfModule>
ErrorDocument 404 /error.php?err=404
after this i want to call my page like this:
http://myserver/local/pl/PL
It will not work and the .htaccess shows up the error doc.
whats wrong? Please help...