PDA

View Full Version : mod_rewrite stopped working on 2.1 upgrade


wx4u
09-26-2005, 06:49 PM
When I upgraded to 2.1 all my mod_rewrite commands in .htaccess files stopped working. I tried 2.1.1 also, but they still don't work. What do I have to change to get them to work again?


--
Joe Torsitano
www.weatherforyou.com

mistwang
09-26-2005, 07:06 PM
Can you please give us an example?
You can try turn on rewrite logging, see if anything logged in the error.log.

wx4u
09-26-2005, 07:11 PM
I go to a directory where there's a rewrite command in the .htaccess file, but I get a 404 error instead of redirected to a page that exists if I try going to it directly.


--
Joe Torsitano
www.weatherforyou.com

mistwang
09-26-2005, 07:17 PM
So the rewrite is to redirect a request for a none-existing file to another file, right?
Can you please PM me your rewrite rule used?

Thanks.