On Fri, Sep 26, 2003 at 10:23:59AM +0200, Evan Morris wrote:
Hi all
I realise this is OT, but maybe someone knows the answer or knows where I can find the answer (it's not in Apache docs, as far as I can see).
It is in the docs.
Basically, I'm porting a web site from IIS to Apache. On IIS, all the pages are .asp, but on Apache they'll all be .php. There are a lot of links to the site in the wild, and what I want to do is redirect any requests for .asp pages to the corresponding .php page (the rest of the page name will be the same).
Please read http://httpd.apache.org/docs/misc/rewriteguide.html and http://httpd.apache.org/docs/mod/mod_rewrite.html, these documents explain how to do what you ask. Also, please do not hijack threads on the mailing list. Do not reply to some others message when you want to ask a new question. Regards, -Kastus