[www server] [any linux] dynamic proxy for apache or something else
Hi all,
just a quick question.
I was wondering if it is possible to do the following:
suppose there is a www and it contains 3 pages: aboutus.php, index.php and contactus.php within each side there are 3 other pages you could say 1*.php,2*.php,3*.php, where * stands for any of {aboutus,index,contactus}. I was wondering how, if it is possible, to implement the following mechanism.
If users requires 2a.php go to aboutus/2aboutus.php or if it is 1i.php then go to index/1index.php. What this does it translates addresses that user requires into the original links that are stored at the server. Then, if I want to change the translation I just change the naming convention say 22a.php or 11i.php and updates my mapping mechanism.
Is it possible to implement it with mod_proxy_http ? so that you could dynamically (at once, without restarting apache and without any delays) change this mapping to whatever you want ? maybe there is another module I should look at ? Or shall I implement it myself?
thank you for your answers,
Cheers!
|