This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
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: 19654
    
  18

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 - OCEEJBD 6
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://aspose.com/file-tools
 
subject: help needed in Proxy support in Tomcat server
 
Similar Threads
Configuring tomcat as proxy server
Download file from FTP using java client
Problems with nonProxyHosts
Copy file from client to Webserver
SSL