tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oded Arbel <>
Subject Re: Apache + Tomcat, Tomcat only handles JSP in localhost
Date Tue, 10 Jan 2006 11:59:08 GMT
On Tuesday, 10 בJanuary 2006 02:35, Caldarale, Charles R wrote:
> > From: Sriram Narayanan []
> > Subject: Re: Apache + Tomcat, Tomcat only handles JSP in localhost
> >
> > The link he gave talks about how to have PHP etc along side Tomcat.
> PHP can be fairly easily used with Tomcat standalone:
> So, I repeat:  What "full-fledged" features do you think are missing
> from Tomcat?

The most important reason that I use an Apache frontend for tomcat, 
which is probably not relevant to the original poster, is that under 
Unix only root processes can open port 80 (the default HTTP port), and 
so if tomcat is configured to serve pages on port 80, it must run as 
This is a serious security concern. Apache knows how to open port 80 and 
then change to a non-privileged user, something which AFAIK tomcat - 
being based on Java which does not support the concept of operating 
system privileges - cannot do.

There for, some kind of frontend is required. While we are in the 
process of providing a frontend, it might as well be Apache which 
offers additional features: reverse-proxying and caching and support 
for a huge number of scripting languages (python, perl or ruby 
anyone ?) and other modules. 

Also - the tomcat support for PHP is really nice and I am planning on 
trying it out ASAP, but I prefer not to do hacks on production 
machines, and Apache support for PHP is better integrated and is 
offered as part of my base operating system - including support for 
compiled pages, code caches and PHP debugging.


Ability is nothing without opportunity.
	-- Napoleon Bonaparte

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

View raw message