I have servoy installed on a Win2k3 server also running IIS.
Servoy is on 8080 and 8443 and IIS is on 80 and 443 so they play nicely:)
Both solutions work fine except that 808/8443 is sometimes hard to get through firewalls.
So I want to route all inbound web traffic though my firewall to the servoy tomcat (8080/8443) and then use host headers in the tomecat config to either:
a) Process with servoy
b) Forward to IIS (on 80/443)
I have seen a pile of posts in various forums saying tomcat can do this forwarding using the config. Problem is I cant get the syntax to work. (BTW IIS definatively CANT forward properly so I cant do it the other way round). This is what I have tried to add to server.xml
<VirtualHost 192.168.0.20:8080>
Servername iis.server.com
ProxyPass / http://iis.server.com/
ProxyPassReverse / http://iis.server.com/
to my way of thinking that should cause tomcat to forward anything it receives with the iis.server.com host header onto my iis box…but it doesnt work. Any ideas? I am restricting myself to getting http to work first before I mess with SSL.
Part of the problem may be that I also have the standard info to confif servoy in the file:
→
-
-
-
-
-
and the ports conflict? Whats the relationship between “connect port” and “virtualhost”? Can they both be on the same port (8080) or do they exclude each other?
Thanks
Al