Society of Robots - Robot Forum

General Misc => Misc => Topic started by: vidam on March 14, 2010, 04:16:51 PM

Title: Question on Linux Tomcat Apache Server and Port Redirection for a robotics site
Post by: vidam on March 14, 2010, 04:16:51 PM
Hello,

This question requires knowledge of Linux Apache Tomcat Server.

I have a website with domain name for instance: www.robotronics.org (http://www.robotronics.org)
However this site is only for HTML and Javascript.

I have a Java J2EE site on the same domain name but you can't get to it unless you type the port:
http://www.robotronics.org:9080/Robotronics (http://www.robotronics.org:9080/Robotronics)

How can I get the domain name www.robotronics.org (http://www.robotronics.org) to point to the Java J2EE site without having to type in the port 9080 and the directory Robotronics?

I found one site that gives some ideas on how to do it -->
http://rimuhosting.com/mod_jk2_and_mod_proxy_ajp.jsp#mod_proxy (http://rimuhosting.com/mod_jk2_and_mod_proxy_ajp.jsp#mod_proxy)

Using Tomcat 5.5 and Apache HTTP Server Version 2.2

Thank you,


Edit:

Never mind, the questions above. The temporary J2EE site is up at the correct URL and I have no further questions at this time.
Title: Re: Question on Linux Tomcat Apache Server and Port Redirection for a robotics site
Post by: Webbot on March 14, 2010, 09:38:21 PM
You can do it with a mix of redirects and also by changing the default deployed application on Tomcat.