Both of the web servers cannot be listening on port 80 simultaneously!
Apache Tomcat Configuration is in TOMCAT_HOME/conf/server.xml
.
There you can find, on HTTP Connectors, the ports Tomcat is listening, e.g. <Connector port="8080"
.
(That being the default; Tomcat can also use AJP Connectors that are supported by Apache mod_proxy_ajp.)
If Apache is listening on 80
, you probably have ProxyPass "/RTT" "http://localhost:8080/bar"
or similar in your Apache configuration, using mod_proxy to forward the requests to Tomcat
listening on different port.
If Tomcat is listening on 80
, Tomcat's equivalent for "aliases" would be Context containers with attribute docBase
, like <Context path="/RTT" docBase="/RTT/intranet/build"
.
Please notice that Apache Tomcat 5.5.x has been EOL since 30 September 2012 and – even with RHEL extremely long life cycle – RHEL5 Extended Update Support EUS has ended (depending on the minor release) during years 2010–2015. Please do not use EOL software. My answer still applies for currently supported versions, though.