> -----Original Message----- > From: Graham Leggett [mailto:[EMAIL PROTECTED] > Sent: Wed, May 16, 2001 3:38 PM > To: [EMAIL PROTECTED] > Subject: Re: Dynamic Reverse Proxying > > > Ian Holsman wrote: > > > no..nothing to do with load balancing. > > Ok... > > > heres the situation... > > we have multiple apps running through one server, and we > > determine what app the page gets passed to > > depending on a part of the file name. > > > > so for example /news/story/123-123-12 would go to the > > story application, > > where /news/lists/123-0-12-1 would go to a another and > > /news/blah/12312-123 would be served from disk > > This is already possible: > > ProxyPass /news/story/ http://backend/cgi-bin/story_app?id= > <offtopic> actually the '?' gets parsed into a %3F (is this a bug?) which stuffs up our java app. </offtopic>
> 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. yep.. I agree about proxy doing only proxying at the moment there are 2 different ways for mod proxy to get called.. I was thinking of doing it a 3rd, but I'll just stick to re-writing the filenames and hardcoding the proxy lines. > > Regards, > Graham > -- > ----------------------------------------- > [EMAIL PROTECTED] "There's a moon > over Bourbon Street > tonight..." >
