> From: Maciej Zabielski [mailto:m...@tessel.pl]
> Subject: RE: mod_jk problem related to multiple hosts on Apache and
> Tomcat
> 
> when I started reading what is the easiest way to make Tomcat 
> available on port 80 (under Centos 5.3) the most common
> answer was: use Apache HTTPD.

Probably written by someone very familiar with httpd and unfamiliar with 
Tomcat.  Using Tomcat standalone on port 80 without root privileges is actually 
much easier and less overhead, as described here:
http://tomcat.apache.org/tomcat-6.0-doc/setup.html#Unix%20daemon

> 1 - Ports below 1024 are available only to root user, and I wanted to
> run Tomcat under default Tomcat user

See above.  You can also use iptables to do port forwarding.

> Because of that I still need localhost:8080 to serve the same
> application.

All you need for that is two <Connector> elements, one for port 80, one for 
8080.

> 4 - I can still use Apache HTTPD to host other applications on that
> server, that are PHP based.

Now you have a real reason for keeping httpd in the mix.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to