You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Hong wu <lo...@gmail.com> on 2005/07/01 22:26:06 UTC

newbie question: Tomcat/Apache settings

Hi,

I have apache 1.3.x and tomcat 4.x installed on XP machine.

apache is running at port 80 and tomcat running on port 8080.  it
seems that tomcat has its own web server, even i stopped the apache
server process, tomcat was able to run on its own.

my question is: how to "integrate" apache and tomcat?  i think a
simpler form to ask is: how to setup apache/tomcat so that apache
serves the HTML/SHTML requests, and tomcat serving JSP/Servlets, while
both running on port 80?

please forgive me if this question has been posted and replied in the
past, i am new to the list... thanks!

hong

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: newbie question: Tomcat/Apache settings

Posted by Mark Thomas <ma...@apache.org>.
Have a look at 
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/connectors.html 
for an overview of the different type of connectors. You need the web 
server type rather than the HTTP type.

You should use the mod_jk with Apache.
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/jk.html

You should use CoyoteConnector with JkCoyoteHandler for Tomcat.
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/coyotejk.html

If you will only be accessing Tomcat through Apache, you can remove the 
HTTP connector on port 8080 but I would leave this until everything else 
is working.

HTH,

Mark


Hong wu wrote:
> Hi,
> 
> I have apache 1.3.x and tomcat 4.x installed on XP machine.
> 
> apache is running at port 80 and tomcat running on port 8080.  it
> seems that tomcat has its own web server, even i stopped the apache
> server process, tomcat was able to run on its own.
> 
> my question is: how to "integrate" apache and tomcat?  i think a
> simpler form to ask is: how to setup apache/tomcat so that apache
> serves the HTML/SHTML requests, and tomcat serving JSP/Servlets, while
> both running on port 80?
> 
> please forgive me if this question has been posted and replied in the
> past, i am new to the list... thanks!
> 
> hong
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org