httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dragon <>
Subject Re: [users@httpd] How to define multiple paths for ProxyPass and ProxyPassReverse?
Date Tue, 05 Jun 2007 22:56:37 GMT
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
>do I need to configure them as,
>ProxyPass: /A
>ProxyPassReverse: /A
>ProxyPass: /B
>ProxyPassReverse: /B
>ProxyPass: /C
>ProxyPassReverse: /C
>...... ?
>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.


  Venimus, Saltavimus, Bibimus (et naribus canium capti sumus)

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message