httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arno Schatz <g...@gmx.net>
Subject [users@httpd] Virtual Hosts and reverse proxy
Date Thu, 22 Nov 2007 16:10:59 GMT
Hi,

I am trying to set up virtual hosts for web applications running on the
intranet. (using httpd 2.2 on openSuse 10.3 amd64). The configuration is
below, problem is that all requests go to the first virtual host and
passed on to the first application. The second application is never been
called.
So http://second.mydomain.biz:80 will end up at
http://172.16.185.128:50000/ internally, which is not intended. I am new
to httpd. Am I missing something obvious? Or is there some other trick
to reserve proxying?

thanks,
   Arno


<VirtualHost *:80>
ProxyPass / http://172.16.185.128:50000/
ProxyPassReverse / http://172.16.185.128:50000/
ProxyPreserveHost On
<Proxy *>
allow from all
</Proxy>
ServerName first.mydomain.biz
</VirtualHost>


<VirtualHost *:80>
ProxyPass / http://192.168.59.129:8080/
ProxyPassReverse / http://192.168.59.129:8080/
ProxyPreserveHost On
<Proxy *>
allow from all
</Proxy>
ServerName second.mydomain.biz
</VirtualHost>

---------------------------------------------------------------------
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