This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Tomcat and the fly likes help needed in Proxy support in Tomcat server Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » Tomcat
Reply Bookmark "help needed in Proxy support in Tomcat server" Watch "help needed in Proxy support in Tomcat server" New topic
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.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: help needed in Proxy support in Tomcat server
 
Similar Threads
Download file from FTP using java client
Problems with nonProxyHosts
Copy file from client to Webserver
SSL
Configuring tomcat as proxy server