You have to configure Apache to work with tomcat if you want them both to
cooperate.
________________________________________
Pete Freitag ([EMAIL PROTECTED])
CFDEV.COM
ColdFusion Developers Resources
http://www.cfdev.com/
-----Original Message-----
From: Tsinwah Lee [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 31, 2001 3:49 PM
To: [EMAIL PROTECTED]
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
> [EMAIL PROTECTED]
>
> > -----Original Message-----
> > From: Ali Manji [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, July 31, 2001 11:08 AM
> > To: [EMAIL PROTECTED]
> > 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
> >