tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pete Freitag" ...@cfdev.com>
Subject RE: How to "alias out" port 8080?
Date Tue, 31 Jul 2001 20:34:34 GMT
You have to configure Apache to work with tomcat if you want them both to
cooperate.

________________________________________
Pete Freitag (pfreitag@cfdev.com)
CFDEV.COM
ColdFusion Developers Resources
http://www.cfdev.com/

-----Original Message-----
From: Tsinwah Lee [mailto:tleea@gmu.edu]
Sent: Tuesday, July 31, 2001 3:49 PM
To: tomcat-user@jakarta.apache.org
Subject: Re: How to "alias out" port 8080?


I have the similar question: What if we have Apache run on port 80 and don't
want to config Apache to work with Tomcat? So can we have both Apache and
Tomcat
standalone run on port 80 so users don't need to type the port number?
Thanks.

T.

Barry Draper wrote:

> Here's one way to do it.
> If you don't need to use port 80 (the default port for an HTTP server)
> for another HTTP (aka web) server, change the port number in the file
> TOMCAT_HOME/conf/server.xml from 8080 to 80.
> Here's the snippet of code where I changed this on my Tomcat 3.2.1
> installation.
> Note that I changed mine to 8081 to avoid conflict with another Tomcat
> server
> listening on 8080.
>
>      <!-- ==================== Connectors ==================== -->
>
>         <!-- Normal HTTP -->
>         <Connector className="org.apache.tomcat.service.PoolTcpConnector">
>             <Parameter name="handler"
>
> value="org.apache.tomcat.service.http.HttpConnectionHandler"/>
>             <Parameter name="port"
>                 value="8081"/>
>         </Connector>
>
>    Note that if you are running a regular HTTP server like Apache or IIS,
>    it would listen by default on port 80. If you run Tomcat with Apache,
>    Tomcat listens by default on 8007 and Apache (listening by default on
80)
>    dispatches/routes servlet requests to Tomcat.
>
> Barry Draper
> IBM Informix
> Oakland, CA
> barry@informix.com
>
> > -----Original Message-----
> > From: Ali Manji [mailto:alimanji5@hotmail.com]
> > Sent: Tuesday, July 31, 2001 11:08 AM
> > To: tomcat-user@jakarta.apache.org
> > Subject: How to "alias out" port 8080?
> >
> >
> >
> > Hi,
> >
> > I am trying out a Tomcat 4.0 beta and was wondering if there
> > is a way to
> > "alias out" the port.  So for instance, I would like to enter:
> >
> > http://myorg.org/stuff instead of
> >
> > http://myorg.org:8080/stuff
> >
> > Is this possible?
> >
> > Thanks in advance for any help!
> >
> >
> > *****************************************************
> > Ali M. Manji
> > *****************************************************
> >
> >
> > _________________________________________________________________
> > Get your FREE download of MSN Explorer at
> > http://explorer.msn.com/intl.asp
> >



Mime
View raw message