Hi Seb,
I tried this this weekend, and it worked but i am not sure that i really got it working properly!
I changed my instance of servoy to AJP port 8009, and also left and http port setting at 8046. I restarted it and it worked fine when going directly over 8046.
I changed my webserver settings to:
- Code: Select all
<VirtualHost 77.240.5.187:80>
ProxyPass /tunnel ajp://corex.drcoop.co.uk:8009/tunnel flushpackets=on
ProxyPass / http://corex.drcoop.co.uk:8046/
ProxyPassReverse / http://corex.drcoop.co.uk:8046/
ServerName corex.drcoop.co.uk
So now when i went corex.drcoop.co.uk/servoy-client/servoy_client...etc
It ran the smart client fine.
But when looking at the Java log, and the downloading dialogue, it was visibly using port 8046, not port 80
But for my users the idea i think is that they use port 80 so as not to get firewall issues. So is the really using port 80, which is then mapping at my server end to 8046, then down to 80, or is it just mapping port 80 to 8046, but when they use the application they go direct to 8046. If the latter is true then wont i get the same firewall issues as if i just told them to use port 8046 in the first place directly.
Sorry, I find this port business very confusing!!
David