httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Qingshan Xie <xieq...@yahoo.com>
Subject Re: [users@httpd] How to define multiple paths for ProxyPass and ProxyPassReverse?
Date Tue, 05 Jun 2007 23:24:56 GMT
Thanks a lot for your quick reply!

Yes, we are setting a reverse proxy.  Have not found a
simple way to define the multiple paths.

Q.Xie

--- Dragon <dragon@crimson-dragon.com> wrote:

> Qingshan Xie wrote:
> >Hi! all,
> >
> >    In Apache/2.0.59, if I need to specify multiple
> >paths for  "ProxyPass and ProxyPassReverse", for
> >example, I need to proxy 3 paths /A, /B, /C to
> >http://www.foo.com
> >do I need to configure them as,
> >......
> >ProxyPass: /A http://www.foo.com
> >ProxyPassReverse: /A http://www.foo.com
> >ProxyPass: /B http://www.foo.com
> >ProxyPassReverse: /B http://www.foo.com
> >ProxyPass: /C http://www.foo.com
> >ProxyPassReverse: /C http://www.foo.com
> >...... ?
> >
> >If a hundred paths need to be defined, any simple
> way?
> ---------------- End original message.
> ---------------------
> 
> You can use a rewrite rule to handle the forward
> proxy using the [P] 
> flag to proxy the request. However, I do not know
> how to do this for 
> the reverse proxy using mod_rewrite.
> 
> There is a small discussion on how to do this in the
> Apache 
> documentation on mod_rewrite on the Apache web site.
> 
> 
> Dragon
> 
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>   Venimus, Saltavimus, Bibimus (et naribus canium
> capti sumus)
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> 
>
---------------------------------------------------------------------
> The official User-To-User support forum of the
> Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for
> more info.
> To unsubscribe, e-mail:
> users-unsubscribe@httpd.apache.org
>    "   from the digest:
> users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail:
> users-help@httpd.apache.org
> 
> 



 
____________________________________________________________________________________
It's here! Your new message!  
Get new email alerts with the free Yahoo! Toolbar.
http://tools.search.yahoo.com/toolbar/features/mail/

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message