Dynadot .com transfer sale, only $10.12 with coupon code DYNA12, available while supplies last, ends October 31, 2026.

[Resolved] What's wrong with these rewrite rules?

Namecheap AuctionsNamecheap Auctions
Namecheap AuctionsNamecheap Auctions
SpaceshipSpaceship
Watch

Barrucadu

Established Member
Impact
64
What's wrong with these rewriterules?

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:
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
Appraise.net

We're social

Escrow.com
Spaceship
Escrowly
CryptoExchange.com
Domain Recover

NamePros updates

New in Parking: updated way to act on many domains or inquiries at once
Your domain list and inquiry list now have a bar above and below the list. Check the items you want, then choose an action in the bar...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back