This comes up all the time. Some reasons why you would want to run Apache (there are many):
- Apache doesn't run as root on port 80 (at least when serving requests) - Apache has modules like mod_rewrite that you might need - Apache can handle other technologies besides Tomcat, like CGI and PHP, all at the same time. In a shared environment or an enterprise environment, it's very possible that you'll have legacy apps that you need to support, like CGI or PHP, in addition to Tomcat - can load balance requests to multiple Tomcat instances on other servers ....and more and more. In general, if Tomcat works for you as a general purpose HTTP server, then use it that way and be happy. That doesn't change the fact that there are plenty of scenarios where using Apache + Tomcat is a more appropriate solution. Note that I said "appropriate" and not "better", "smarter" or "wiser" because those types of adjectives are all subjective based on each person's needs in each of their given environments. John > -----Original Message----- > From: Michael Finney [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, December 18, 2002 1:36 PM > To: [EMAIL PROTECTED] > Subject: Apache Web Server vs. Tomcat > > > Why bother with Apache's webserver as opposed to > Tomcat for a JSP web application? > > If there are not many static web pages (4), why bother > with Apache's Web Server at all? Why not just go with > Tomcat? > > Someone mentioned they they are considering switching > to Linux from Windows and using Apache Webserver or > Tomcat. Well, that person is already using Tomcat on > Windows. So, I figure staying on Tomcat is the smart > thing to do. Right? > > Michael > > > ===== > Michael Finney > 719-572-1577 (H) > Sun Certified Programmer for the Java 2 Platform > Sun Certified Developer for the Java 2 Platform > Sun Certified Web Component Developer for J2EE Platform > Co-founder of PPJDG - http://www.ppjdg.org > Co-founder of cosAgile - Colorado Springs XP Users Group - > http://www.yahoogroups.com/group/cosAgile > > __________________________________________________ > Do you Yahoo!? > Yahoo! Mail Plus - Powerful. Affordable. Sign up now. > http://mailplus.yahoo.com > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
