httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boyle Owen" <>
Subject RE: [users@httpd] ProxyPass
Date Fri, 16 Jan 2004 07:58:20 GMT
Plain text please...

You can have as many ProxyPass directives as you like so long as they
map distinct paths. For example:

ProxyPass /fred http://fred-server/
ProxyPass /jack http://jack-server/

Your problem is that one path is a subdirectory of the other so they are
not distinct. You have:

ProxyPass /
ProxyPass /folder2

The first directive will trap all requests including a request for
/folder2. So you will never hit the second ProxyPass.

I'm not sure that the ordering of the directives matters (the docs are
not clear on this) but it might work if you switch the order so that the
more specific directive is hit first. If it does, please let us know! If
not, you will need to change your URL Scheme, eg:

ProxyPass /folder1
ProxyPass /folder2

Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 

-----Original Message-----
From: Sadananda B Rai []
Sent: Freitag, 16. Januar 2004 07:16
Subject: [users@httpd] ProxyPass

Hello All,
      Is it possible to have multiple ProxyPass on same Virtual Host? If
yes how i can map 2 instance of zope to the same site (different

Example of my question...

With one Proxy Pass...(Working fine)

<VirtualHost *>
DocumentRoot    /var/www/cgi-bin/
ScriptAlias     /cgi-bin/ /usr/zope
ProxyPass /
ProxyPassReverse /

With 2 ProxyPass on same VH ( some new which i have to do..........)

<VirtualHost *>
DocumentRoot    /var/www/cgi-bin/
ScriptAlias     /cgi-bin/ /usr/zope

ProxyPass /
ProxyPassReverse /

ProxyPass /folder2
ProxyPassReverse /


I am not sure that this is going to work. I hope somebody can show me
the right way to get this work for me..........Thanks in advance.

Thanking You
Diese E-mail ist eine private und persnliche Kommunikation. Sie hat
keinen Bezug zur B rsen- bzw. Geschftst tigkeit der SWX Gruppe. This
e-mail is of a private and personal nature. It is not related to the
exchange or business activities of the SWX Group. Le prsent e-mail est
un message priv  et personnel, sans rapport avec l'activit boursi re du
Groupe SWX.

This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission.
If you receive this message in error, please notify the sender urgently
and then immediately delete the message and any copies of it from your
system. Please also immediately destroy any hardcopies of the message.
You must not, directly or indirectly, use, disclose, distribute, print,
or copy any part of this message if you are not the intended recipient.
The sender’s company reserves the right to monitor all e-mail
communications through their networks. Any views expressed in this
message are those of the individual sender, except where the message
states otherwise and the sender is authorised to state them to be the
views of the sender’s company. 

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