[thelist] rewrite/redirect php3 to php?

muinar muinar at gmx.net
Mon Aug 27 12:53:39 CDT 2001


Hello

It's hard to find something on this, although it seems to
me that it's a quite common problem:

I switched to a new server which has php4 installed instead
of the old php3. I renamed all the pages and links to .php
(The old version needed the filename ending php3)

Now when a visitor uses an old bookmark which ends with .php3,
he will get a 404 error. Is there a way to rewrite or redirect
users to the according php page? If this can be done with
mod_rewrite in Apache, I'd appreciate any hints.

Thank you!





More information about the thelist mailing list