I am taking over a site that was built in ASP and provides an endpoint for a bunch of third party apps. We are moving to a PHP based site, but we have to account for these end points.
Basically on the only site it might make a request like test.asp?id=31231312&qs=423434AFSDF434 and we want to route this to our own test.php?id=31231312&qs=423434AFSDF434 and then we can do the rest. Is there a way to set up a 404 redirect to catch this and route properly in Apache? Any other ideas of an easy way to route it?
Thanks in advance.