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/
