The Apache httpd web server (a.k.a. "The Apache Server") is essentially a file (web page) server, written for fast performance in C, very reliable, and VERY widely used.
The Apache Tomcat web server (a.k.a. "Tomcat") is essentially a web application container that runs using web protocols. It's written in Java, works well, and is quite widely used as a backend server.
The Apache httpd server is ideal for site with lots of individual files to serve from time to time. The Apache Tomcat server is great for sites with large number of accesses to a handful of scripts. But of course, most real life web sites require a bit of one and some of the other. So in most cases that you'll find a Tomcat, you'll also find an Httpd in front of it, taking all the requests to the domain and passing on (via Apache mod_proxy or mod_jk to Tomcat these days) requests for the major application.
There's an example of an Apache httpd configuration file
here that connects Apache httpd to Apache Tomcat via mod_proxy (also includes mod_jk and mod_rewrite examples), and a more complex example using virtual hosts (several domains server by the same server)
here.
Our
Apache httpd and Tomcat course covers mod_proxy, and (briefly) the additional mod_proxy_balancer which allows a single Apache httpd to pass on requests to several Tomcats (or actually to more httpds or other servers) to do the bulk of the processing. Apache Httpd and Apache Tomcat are two very flexible web server which - when used in combination - provide the platform on which you can run a wide range of sites / applications, and we'll teach you how to make the best of setting up and managing both servers, and linking them together.
(written 2009-08-06)
Associated topics are indexed as below, or enter http://melksh.am/nnnn for individual articles
A608 - Web Application Deployment - Apache httpd mod_proxy [3892] Distributed, Balanced and Clustered Load Sharing - the difference - (2012-10-13)
[3680] How can I run multiple web servers behind a single IP address? - (2012-04-02)
[3339] Simplest ever proxy configuration? - (2011-06-28)
[3293] Distributing the server load - yet ensuring that each user return to the same system (Apache httpd and Tomcat) - (2011-05-18)
[2482] Load balancing with sticky sessions (httpd / Tomcat) - (2009-10-29)
[2273] Three recent questions on Tomcat Convertors - (2009-07-07)
[2062] Virtual hosting and mod_proxy forwarding of different domains (httpd) - (2009-03-01)
[1944] Forwarding session and cookie requests from httpd to Tomcat - (2008-12-14)
[1939] mod_proxy_ajp and mod_proxy_balancer examples - (2008-12-13)
[1767] mod_proxy and mod_proxy_ajp - httpd - (2008-08-22)
[1566] Strange behaviour of web directory requests without a trailing slash - (2008-03-06)
[1376] Choosing between mod_proxy and mod_rewrite - (2007-10-02)
[1121] Sharing the load with Apache httpd and perhaps Tomcat - (2007-03-29)
[1006] Apache httpd and Apache Tomcat together tips - (2006-12-24)
[934] Clustering, load balancing, mod_rewrite and mod_proxy - (2006-11-21)
[631] Apache httpd to Tomcat - jk v proxy - (2006-03-03)
4c91
Some other Articles
Great to be in MelkshamMelksham - no trains, no southbound buses through the townPlanning!Learn a new programming language this summer.Apache, Tomcat, mod_proxyWhat search terms FAIL to bring visitors to our site, when they should?Java Collection Objects in the java.util packageLooking for a practical standards courseUploading and Downloading files - changing names (Perl and PHP)Helping new arrivals find out about source code examples