tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Turner, John" <>
Subject RE: Best Connector for Apache 2x and Tomcat 4x
Date Fri, 30 Aug 2002 13:06:36 GMT

I hear you on the root user issue.  

I don't know of a way to bind tomcat to port 80 and have tomcat run as a
non-root user.  I run my tomcats under a non-root user account, but the
bound ports are all 8000+ since I use the connector.

My HOWTO should help you out...I will be updating it today (actually, I am
working on it right now).  I've gotten email from people who have used it
not only for RH, but also FreeBSD and NetBSD, as well as SuSE and Mandrake,
so it should get you started.  The only difference between apache 1.3 and
apache 2.0 as far as tomcat integration goes is needing a different binary, but if you download the connector source package and run
through the build process, you will get connectors for both 1.3 and 2.0,
then you can pick which one you copy to apache's modules or libexec

SIDE NOTE: The build process in my HOWTO uses ANT.  Based on suggestions
from others, I'm changing that to use the standard ./configure and apxs,
it's easier and less error-prone.  The changes to the HOWTO will be live


> -----Original Message-----
> From: Ben Souther []
> Sent: Friday, August 30, 2002 8:50 AM
> To: Tomcat Users List
> Subject: Re: Best Connector for Apache 2x and Tomcat 4x
> Thank you,
> Best IS relative. That's why I explicitly stated my needs in 
> parenthesis.
> :-)
> I'm running on RH Linux 7.1
> The reason I wanted to integrate the two is that I don't want 
> to run tomcat
> as the root user but I do want to use port 80 instead of port 
> 8080. I know
> that Apache gets started by the root user but then forks off all other
> processes to the user "nobody".
> If you know of a way to configure Tomcat to bind to port 80 
> without having
> its processes run by the root user, this would eliminate the 
> need for me to
> integrate. It isn't a site with a lot of traffic or static content.

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message