|
|||||||||||
|
Re: Dynamic Reverse Proxying
From: Graham Leggett <minfrin(at)sharp.fm>
Date: Wed May 16 2001 - 18:37:43 EDT Ian Holsman wrote: > no..nothing to do with load balancing.
Ok... This is already possible: ProxyPass /news/story/ http://backend/cgi-bin/story_app?id= This will turn "/news/story/7987548" into "http://backend/cgi-bin/story_app?id=7987548" > we also want /gs/story/123-123-12 to go to the story
Just add as many ProxyPass lines as you need, mapping to the same backend URL. > this could all be achived with rewriting the file/url so
Why not just include a fragment of config file, or use a .htaccess file (if it works)? This kind of functionality definitely has scope outside the proxy, because it is quite possible that apps you are trying to hide behind URLs are located on the same server. I have a feeling mod_rewrite will do this for you already, or if it doesn't, this is where modification should be made so it should. The proxy should only be doing one thing - proxying. Other apps should be handled by other bits of Apache.
Regards,
-- ----------------------------------------- minfrin@sharp.fm "There's a moon over Bourbon Street tonight..."
This archive was generated by hypermail 2.1.8 : Thu Aug 24 2006 - 14:53:16 EDT |
||||||||||
|
|||||||||||