Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

help needed in Proxy support in Tomcat server

 
Mariya Antony christopher
Ranch Hand
Posts: 49
Hibernate Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 20667
65
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why not change Tomcat's port to 80 if all you want to achieve is to remove the port number from the URL?
 
Deep Nair
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic