This issue is discussed endlessly as far as I can see, both camps argue very well for their case....
However, my take from personal experience is that its very "handy" to have Apache in front, because it gives you a lot of scope to do little fixes and tweaks to odd users causing problems without any service downtime. For example you can pretty much add Apache Rewrite rules all over the shop to fix up little issues without having to actually restart any servers, (just an Apache SIGHUP, or reload). You can also fiddle with the various request headers, response headers, logging of request, response headers, with no impact on the back-end tomcat layer and its webapps. Of course there is the load balancer issue as well, if you require/desire to have sticky sessions. Obviously if your code is perfect and bug free and users are all perfect, and sticky sessions are not required then then perhaps tomcat-only is the solution. Although I've yet to meet an author of bug free code. Thats my opinion anyway. Mark On Thu, 2006-06-01 at 12:05 +0200, Danny Lee wrote: > Hi guys! > > I wondering if it's really so good to use Tomcat behind "a real" web > server like Apache or IIS. > > In my Tomcat 5 book there are two reasons to do it so: > > 1. Tomcat is not as secure as common web servers, especially if you > want to use CGI and SSI (I don't think I want to) > > 2. Tomcat is slow delivering static content. > > Well, as long it's just planned to use only 1 server for my application, > I don't think the both points are true for me. On the Tomcat site > there's a note about performance: > > "When using a single server, the performance when using a native > webserver in front of the Tomcat instance is most of the time > significantly worse than a standalone Tomcat with its default HTTP > connector, even if a large part of the web application is made of static > files" > > And security... what about security? Why is Tomcat behind of Apache > more secure then without it, especially (as I said) if both are running > on the same server. > > Thanks in advance! > > Cheers, > > Danny > > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > ________________________________________________________________________ > This email has been scanned for all known viruses by the MessageLabs SkyScan > service. ________________________________________________________________________ This email has been scanned for all known viruses by the MessageLabs SkyScan service. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]