I have 2 web forms, one coded using Java Servlets on glassfish (port 8080) and another using PHP on apache(port 80). But my office ITdept is refusing to open port 8080 to outside traffic. How do I set up Apache such that requests coming in for the form with the servlets are directed to port 8080? Thanks TX PS: Im using wamp
closed as off-topic by Tom O'Connor♦ Aug 14 '13 at 20:50
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "Questions must be relevant to professional system administration. Server Fault is a site dedicated to professionals; novice questions are off-topic. Please see the Help Center for more information on topicality. The best advice we can give you is to hire a professional to help you out." – Tom O'Connor
I think your best bet is to use mod_proxy on apache...
Something like the following on your virtual host:
This would make it so that when you access /somepath on your apache you're actually accessing the glassfish server /SomeApp/somepath.
You might need to add some more directives if you want cookies to be rewritten, etc... but the basic functionality is there...
More info on http://httpd.apache.org/docs/2.2/mod/mod_proxy.html.
Not exactly sure how to set things up with wamp tho but I suppose there's an apache config file somewhere...
Hope this helps.
Surely the better option would be to have IT NAT traffic for a specific IP from port 80 to 8080 onto whichever firewall is above your server?
Also, why will they not open this port?