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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to