if more than 50% of your pages are static html use Apache HTTP server as Apache serves HTML faster than TC if static html is less than 50% of your pages use TC
Martin ______________________________________________ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission. > Date: Sun, 25 Jan 2009 21:12:03 +0100 > Subject: Re: Can TomCat run WITHOUT Apache? > From: rc4...@googlemail.com > To: users@tomcat.apache.org > > André, > > actually I was provoking some comment like yours ;) > > To the OP: > > There are a lot of threads regaring this topic here in the tomcat > userlist, and I believe so are some information on the tomcat website. > > To complete André's posting regarding static content: > > Tomcat offers the option to use the Apache Portable Runtime (APR) when > it comes to serving static content. > > Basically the APR is the same library Apache HTTPD uses to serve > static content, which means, that Tomcat will not be slower than > Apache HTTPD serving static content *if* the APR is used. If you have > to serve static content using SSL, the difference in speed is > remarkable compared Tomcat with and without using the APR. > > As André pointed out, Apache makes life a bit easier when it comes to > things like proxying, URL-rewriting etc. > All those things are possible with Tomcat, too, however, you'll have > to implement them yourself, i.e. write a filter, a valve or even a > servlet /jsp. > > The big plus in running Tomcat only is security: > > The more components you are using, the more possibilities there are > that one of those components has a security relevant problem. > > An statement often seen is "using Apache HTTPD and Tomcat doubles > security since you have two components implementing security > measures". > > This statement is definatley wrong: Each additional component > multiplies the possibility of a security problem. > > OK, having said that plus André's posting, I figure you've got same > useful information on judging if you want to front Tomcat with Apache > HTTPD or not. > > Cheers > > Gregor > -- > just because your paranoid, doesn't mean they're not after you... > gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 > gpgp-key available @ http://pgpkeys.pca.dfn.de:11371 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > _________________________________________________________________ Windows Live™: E-mail. Chat. Share. Get more ways to connect. http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t2_allup_explore_012009