Hello, I'm trying to use htaccess to rewrite old URLs to new ones.
My htaccess file and rules are as follows
RewriteRule ^ABCDE.htm$ XX/XXXXXX/index.html [R,NC]
My error log is showing this kind of thing: [Tue Jun 22 03:13:58 2010] [error] [client XX.XX.XX.XX] File does not exist: /home/XXX/www/XXXXX.com/v1/missing.html, referer: http://XXXXX.com/ABCDE.htm
The Rewrite rule seems to be catching the target URL but I'm not getting redirected: a 500 error is being generated. In fact, a single RewriteRule for one page on the site generates a site-wide 500 error, bringing the entire site down.
After further tests I discovered that even an empty htaccess file produces the same results.
Has anyone had this problem? Does anyone have any advice? I've of course written Support and am awaiting a reply, but in the meantime, I've got a customer anxious to launch his new site.
I'm using htaccess for this purpose on another Dreamhost server and don't understand why I'm getting such bizarre behavior on braves.
P.S. Wondering if Extra Web Security was producing this behavior, I deactivated EWS and am still getting the same result.