An FAQ on the Apache httpd and Apache Tomcat web servers, and on using them together
Both Apache httpd and Apache Tomcat are popular web servers - and most people who use Tomcat 'front' it with httpd. We run
an Apache httpd course (under Linux / Unix) and also
a combined httpd and Tomcat course so we're very familiar with those "Frequently Asked Questions" that everyone wants to have answered, but seem missing (or obfuscated) in the documentation!
This article is a listing of almost 100 postings that I have made over the last few years in answer to questions raised on courses. They are sorted as follows:
1. Questions about using the servers together
[jump]
2. Questions about Apache httpd
[jump]
3. Questions about Tomcat
[jump]
4. Questions about the http protocol
[jump]
Questions that refer to both httpd AND Tomcat, and their use together
B
[1006] Apache httpd and Apache Tomcat together tips
B
[1121] Sharing the load with Apache httpd and perhaps Tomcat
B
[1265] Apache, Tomcat, Jakarta, httpd, web server - what are they?
B
[1377] Load Balancing with Apache mod_jk (httpd/Tomcat)
B
[1383] Monitoring mod_jk and how it is load balancing
B
[1564] Default file (MiMe types) for Apache httpd and Apache Tomcat
B
[1762] WEB-INF (Tomcat) and .htaccess (httpd)
B
[1766] Diagrams to show you how - Tomcat, Java, PHP
B
[1767] mod_proxy and mod_proxy_ajp - httpd
B
[1938] Predictive Load Balancing - PHP and / or Java
B
[1939] mod_proxy_ajp and mod_proxy_balancer examples
B
[1944] Forwarding session and cookie requests from httpd to Tomcat
B
[1993] Load Balancing - Hardware or Software?
B
[2016] Apache httpd and Apache Tomcat miscellany
B
[2038] Sticky Sessions with mod_jk (httpd to Tomcat)
B
[2041] httpd, Tomcat and PHP course enhancements
B
[2060] Database connection Pooling, SSL, and command line deployment - httpd and Tomcat
B
[2062] Virtual hosting and mod_proxy forwarding of different domains (httpd)
B
[2077] Why put Apache httpd in front of Apache Tomcat
B
[2102] What do people think of our Apache httpd / Tomcat course?
B
[436] Linking Apache httpd to Apache Tomcat
B
[631] Apache httpd to Tomcat - jk v proxy
B
[907] Browser -> httpd -> Tomcat -> MySQL. Restarting.
B
[934] Clustering, load balancing, mod_rewrite and mod_proxy
Questions that refer to Apache httpd
H
[1009] Passing GET parameters through Apache mod_rewrite
H
[1080] httpd.conf or .htaccess?
H
[1095] Apache httpd , browser, MySQL and MySQL client downloads
H
[1207] Simple but effective use of mod_rewrite (Apache httpd)
H
[1376] Choosing between mod_proxy and mod_rewrite
H
[1381] Using a MySQL database to control mod_rewrite via PHP
H
[1449] Upgrade Mac OSX to Leopard, Web Server Apache httpd config lost
H
[1551] Which modules are loaded in my Apache httpd
H
[1619] User and Group settings for Apache httpd web server
H
[1687] Virtual Hosting on Apache httpd - a primer example
H
[1688] cannot restore segment prot after reloc message - PHP / httpd
H
[1707] Configuring Apache httpd
H
[1731] Apache httpd, MySQL, PHP - installation procedure
H
[1761] Logging Cookies with the Apache httpd web server
H
[1768] What is built in to this httpd and PHP?
H
[1945] Summary - Apache httpd build on Linux
H
[1954] mod_rewrite for newcomers
H
[2054] Tuning httpd / the supermarket checkout comparison
H
[2063] Internal Dummy Connections on Apache httpd
H
[2096] Where is my new Apache httpd installed
H
[523] Apache httpd release 2.2
H
[526] Apache httpd - serving web documents from different directories
H
[660] Stopping and restarting Apache httpd cleanly
H
[662] An unhelpful error message from Apache httpd
H
[853] To list a directory under httpd on a web server, or not?
Questions that refer to Apache Tomcat
T
[1049] Java 6, Apache Tomcat 6.
T
[1370] Apache Tomcat Performance Tuning
T
[1552] Extra public classes in deploying Apache httpd and Tomcat
T
[1553] Automatic startup and shutdown of Tomcat
T
[1718] Increasing Java Virtual Machine memory for Tomcat
T
[1771] More HowTo diagrams - MySQL, Tomcat and Java
T
[1899] Virtual Hosting under Tomcat - an example
T
[1941] Server - Service - Engine - Host, Tomcat
T
[1994] tomcat-users.xml; what a difference a space made
T
[1996] Advise before my Apache / Tomcat course
T
[2034] Through Snow and Flood to Linux and Tomcat
T
[2036] Java Tag Libraries / how they work / Tomcat Deployment
T
[2058] Invoker and cgi servlets on Tomcat 6
T
[2059] Sharing the load between servers - httpd and Tomcat
T
[2061] Tomcat 6 - Annotated Sample Configuration Files
T
[2080] Using ApacheBench and jconsole to test and monitor Tomcat
T
[2088] Changing the 404 - file not found - page in Tomcat
T
[2184] Choosing the right version of Java and Tomcat
T
[465] Changing Tomcat's web.xml and reloading a web application
T
[498] Why is Tomcat called Tomcat?
T
[49] Business is the predominant user of Tomcat, Perl and Tcl
T
[837] Tomcat - Shutdown port
Questions that refer to the http protocol
P
[1378] Etag in http headers - what is it?
P
[1503] Web page (http) error status 405
P
[1549] http, https and ajp - comparison and choice
Go to ...
Questions about using the servers together
[jump]
Questions about Apache httpd
[jump]
Questions about Tomcat
[jump]
Questions about the http protocol
[jump] (written 2009-05-17)
Associated topics are indexed as below, or enter http://melksh.am/nnnn for individual articles
A651 - Web Application Deployment - Tomcat Overview [49] Business is the predominant user of Tomcat, Perl and Tcl - (2004-09-15)
[498] Why is Tomcat called Tomcat? - (2005-11-17)
[576] Why run two different web servers - (2006-01-25)
[659] Web Application Components - (2006-03-28)
[1265] Apache, Tomcat, Jakarta, httpd, web server - what are they? - (2007-07-13)
[1771] More HowTo diagrams - MySQL, Tomcat and Java - (2008-08-24)
[1941] Server - Service - Engine - Host, Tomcat - (2008-12-14)
[2016] Apache httpd and Apache Tomcat miscellany - (2009-01-30)
[2077] Why put Apache httpd in front of Apache Tomcat - (2009-03-12)
[2753] You do not just fly - that is just part of the journey - (2010-05-06)
[3997] Servlet v JSP (Java Server Page). What is the difference? - (2013-02-06)
[4434] Public training courses - upcoming dates - (2015-02-21)
A601 - Web Application Deployment - Apache httpd - an overview [924] The LAMP Cookbook - Linux, Apache, MySQL, PHP / Perl - (2006-11-13)
[1593] Keep the client experience easy - single server contact point - (2008-03-27)
[1897] Keeping on an even keel - (2008-11-21)
[2038] Sticky Sessions with mod_jk (httpd to Tomcat) - (2009-02-12)
[2054] Tuning httpd / the supermarket checkout comparison - (2009-02-26)
[2063] Internal Dummy Connections on Apache httpd - (2009-03-02)
[4064] Apache httpd - a robust, open source web server - (2013-04-16)
Some other Articles
How you are (re)presented at an exhibitionMatching disparate referencing systems (MediaWiki, PHP, also Tcl)Camera to record where a picture was takenAre we IITT (Institute of IT Training) members?An FAQ on the Apache httpd and Apache Tomcat web servers, and on using them togetherAbstract Classes - JavaChoosing the right version of Java and TomcatServlet life cycle, and Java Servlet variable scopeWhat Linux run level am I in?You cannot please all of the people all of the time