Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Query regarding virtual hosts

5 views
Skip to first unread message

parkyerbike

unread,
May 1, 2013, 12:45:12 PM5/1/13
to
I am wondering if somebody can help

We have a web server running Apache, using 1 IP Address and listening on 1 port (port 80)

We need to host 2 virtual hosts using the same URL, only the end of the URL changes

eg. www.server.com/site1 & www.server.com/site2

In each virtual host, we have a ProxyReversePass for a service whose name cannot be changed

eg

in virtual host for www.server.com/site1, we have

ProxyPass /service http://server1/service
ProxyPassReverse /service http://server1/service

and in virtual host for www.server.com/site2, we have

ProxyPass /service http://server2/service
ProxyPassReverse /service http://server2/service

As this uses the same URL, everytime we try and get to /site2 for the service, it goes to /site1

Any help appreciated

Regards
0 new messages