www-modproxy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ueli Kessler" <U.Kess...@deltavista.com>
Subject RE: ProxyPass / several URL's
Date Fri, 19 Sep 2003 13:54:37 GMT

Hi Daniel,
Thank you very much for your help!! It works now!!

Have a nice weekend,

	-Ueli

-----Original Message-----
From: Daniel Lopez [mailto:daniel@rawbyte.com] 
Sent: Freitag, 19. September 2003 15:03
To: modproxy-dev@apache.org
Subject: Re: ProxyPass / several URL's




On Fri, Sep 19, 2003 at 03:35:11PM +0200, Ueli Kessler wrote:
> Hello,
> Iam running an Apache 2.0.40 Webserver who is acting as a proxy server

> for all incoming request on our website. We now have several 
> redirection I must set up. can please tell me, how I must set up 
> ProxyPass and ProxyPassReverse, so that it is working properly?
> Here is an extract from my httpd.conf file:
> 
> ProxyPass /test/script* http://test2.test.com/test/script*
> ProxyPass /test/script* http://test2.test.com/test/script*
>  
> Now, "script" is an url followed by all arguments like 
> script?test=123;hallo=yes;123=yes
>  
> So the star should indicate that everthing with "script" should be 
> matched. Unfortunately it is not working.


ProxyPass will match the prefix, you just need to do

ProxyPass /test/script http://test2.test.com/test/script
ProxyPassReverse /test/script http://test2.test.com/test/script


Cheers

Daniel
-- 
Teach Yourself Apache 2 -- http://apacheworld.org/ty24/

.

Mime
  • Unnamed multipart/mixed (inline, None, 0 bytes)
View raw message