Hi
Yes, as Mike pointed out, you only setup one redirection in Apache config file.
An .htaccess file would also do the trick.
Then the redirection runs one single CGI program (generally called a "front controller"), passing it the URL that was originally used in the HTTP request as an argument.
It is this front controller script that parses this URL, the HTTP verb that has been used (GET/POST etc...), other query string parameters and POST data, and decides which program to call / perform or method in a class (if you want to be fancy) to actually do the job.
Yes, as Mike pointed out, you only setup one redirection in Apache config file.
An .htaccess file would also do the trick.
Then the redirection runs one single CGI program (generally called a "front controller"), passing it the URL that was originally used in the HTTP request as an argument.
It is this front controller script that parses this URL, the HTTP verb that has been used (GET/POST etc...), other query string parameters and POST data, and decides which program to call / perform or method in a class (if you want to be fancy) to actually do the job.