Forum Moderators: phranque

Message Too Old, No Replies

Rewrites stopped working on server upgrade

         

playersmag

6:02 pm on Apr 20, 2006 (gmt 0)

10+ Year Member



The rewrites I previously used on my server worked without any problems. I use a rewrite map program and now after my server was restored and updated the rewrites that worked before now act strangely when loading pages - for example receiving a 404 error then hitting refresh and getting the page.

Does anybody have any idea why a previously working rewrite would stop working with a server update? I do have apache 2 now and I think before it was 1.xx something.

hakre

6:40 pm on Apr 20, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



since apache 2.x supports all rewrite stuff as 1.x does, i guess you should check that your rewrite map program does not need an update. you did this already?

playersmag

7:22 pm on Apr 20, 2006 (gmt 0)

10+ Year Member



Yes everything has been checked.

All of a sudden it seems to have started working. the only thing I did different is reboot apache from ssh instead of control panel. Ever heard of anything like that?

jdMorgan

11:54 pm on Apr 20, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Check the permissions on the RewriteMap program -- The execution permissions may require you to start the script using your secure account name.

You might also want to check the server error logs if it fails after a control panel restart. You can temporarily crank up the RewriteLogLevel to monitor the RewriteMap operation as well.

Jim