You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Sadananda B Rai <sr...@zeomega.com> on 2004/01/16 07:15:59 UTC
[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
folders).
Example of my question...
With one Proxy Pass...(Working fine)
<VirtualHost *>
ServerName test.foo.com
DocumentRoot /var/www/cgi-bin/
ScriptAlias /cgi-bin/ /usr/zope
ProxyPass /
http://192.168.1.2:7777/VirtualHostBase/http/test.foo.com:80/folder1/VirtualHostRoot/
ProxyPassReverse / http://test.foo.com
</VirtualHost>
With 2 ProxyPass on same VH ( some new which i have to do..........)
<VirtualHost *>
ServerName test.foo.com
DocumentRoot /var/www/cgi-bin/
ScriptAlias /cgi-bin/ /usr/zope
ProxyPass /
http://192.168.1.2:7777/VirtualHostBase/http/test.foo.com:80/folder1/VirtualHostRoot/
ProxyPassReverse / http://test.foo.com
ProxyPass /folder2
http://192.168.1.2:8888/VirtualHostBase/http/test.foo.com:80/folder2/VirtualHostRoot/
ProxyPassReverse / http://test.foo.com/foo
</VirtualHost>
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
Rai