What's wrong with these rewriterules?
I get a internal server error when I add the following lines to my htaccess file:
Any ideas why? It is definatly those 3 lines, because when I comment them out it works perfectly.
After looking in my log file;
This htaccess file works perfectly elsewhere, so i'll just contact my host asap.
I get a internal server error when I add the following lines to my htaccess file:
Code:
RewriteRule ^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])(/|)$ archive.php?y=$1&m=$2&d=$3 [L]
RewriteRule ^([0-9]+)-([a-z0-9\-]+)(/|)$ viewpoem.php?id=$1 [L]
RewriteRule ^([a-z0-9\-]+)(/|)$ viewcat.php?id=$1 [L]
Any ideas why? It is definatly those 3 lines, because when I comment them out it works perfectly.
After looking in my log file;
Code:
[Sat Oct 6 05:46:32 2007] [alert] [client 83.100.186.127] /home/mikor/public_html/flamingcold.com/.htaccess: RewriteRule: cannot compile regular expression
This htaccess file works perfectly elsewhere, so i'll just contact my host asap.
Last edited:






