| Author |
help needed in Proxy support in Tomcat server
|
Mariya Antony christopher
Ranch Hand
Joined: Jan 24, 2012
Posts: 49
|
|
hai,
I need a help to conversion of tomcat to proxy server because
i like to deploy application in tomcat server
as actual link will be http://antony:8080/db my expected link will be http://antony/db
kindly suggest the comments
have a nice day
|
 |
Rob Spoor
Sheriff
Joined: Oct 27, 2005
Posts: 19216
|
|
|
Why not change Tomcat's port to 80 if all you want to achieve is to remove the port number from the URL?
|
SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions How To Answer Questions
|
 |
Deep Nair
Greenhorn
Joined: Dec 24, 2011
Posts: 13
|
|
You can use Apache as a proxy to your Tomcat Server, refer to the below URL
http://www.coderanch.com/t/562641/Tomcat/Resolving-website-name-correctly-Tomcat
Also make sure before you enable your proxy, the server is well secured, to start off with set the below in your Proxy Control block of Httpd file
Change "Allow from 192.168.0" to your ip.
Thanks,
Deepna
|
 |
Deep Nair
Greenhorn
Joined: Dec 24, 2011
Posts: 13
|
|
Also one more learning from my experience is that change the generic port 8080 to some other port thats not "generic" enough for other to sniff and use your proxy.
|
 |
 |
|
|
subject: help needed in Proxy support in Tomcat server
|
|
|