tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Mutsaers <>
Subject RE: Why Use apache
Date Thu, 03 May 2001 08:36:24 GMT
W.r.t. static content: suppose you have a lot of static content and
thus decide to run Apache next to Tomcat, then I wonder: why use the

The plugin itself may be a bottleneck if not configured properbly, and
may also be a source of bugs in itself.

I would propose to run Apache on port 80, then run Tomcat stand-alone
for dynamic content parallel on some other port (such as 8080).

Static pages on Apache can give a link to tomcat, and tomcat gererated
HTML documents can include static content such as images with an
absolute URL pointing to the Apache server.

It may also be more efficient, since dynamic content is returned to
the client directly, and not via an extra rerouting through Apache.

Just a thought for those that want to avoid the plugin.

Peter Mutsaers  |  Dübendorf    | UNIX - Live free or die      |  Switzerland  | Sent via FreeBSD 4.3-stable

View raw message