Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

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...

> heres the situation...

This is already possible:

ProxyPass /news/story/ http://backend/cgi-bin/story_app?id=

Do you need help?X

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,
Graham

-- 
-----------------------------------------
minfrin@sharp.fm		"There's a moon
					over Bourbon Street
						tonight..."

Received on Wed May 16 23:29:54 2001
Do you need more help?X

This archive was generated by hypermail 2.1.8 : Thu Aug 24 2006 - 14:53:16 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library