Académique Documents
Professionnel Documents
Culture Documents
dbc@csit.fsu.edu
Home page:
http://apache.org
dbc@csit.fsu.edu
Foundation Myths
Long ago, when the Web was young, the most famous
Web server in the World was called the NCSA server.
It was developed by Rob McCool at the National Center
for Supercomputing Applications.
McCool left NCSA in 1994, and development of the
public-domain NCSA server temporarily faltered.
At that time, a group of eight powerful Webmasters had
developed their own extensions and bug-fixes for the
NCSA server.
The founding Webmastersbrought together by email
pooled their updates.
Apache came into being early in 1995. It was a series of
patches to the NCSA code.
A year later, Apache was the most popular Web server.
dbc@csit.fsu.edu
3
dbc@csit.fsu.edu
dbc@csit.fsu.edu
dbc@csit.fsu.edu
dbc@csit.fsu.edu
DocumentRoot /usr/local/apache/htdocs
DocumentRoot /home/httpd/html
<Directory /usr/local/apache/htdocs>
<Directory /home/httpd/html>
dbc@csit.fsu.edu
dbc@csit.fsu.edu
10
dbc@csit.fsu.edu
11
Servlet
Request
Browser
80
Apache
Servlet
Request
AJP
HTTP
Client
Tomcat
dbc@csit.fsu.edu
8007
Server
12
The Adapter
dbc@csit.fsu.edu
13
mod_jk
For now the only way to obtain the mod_jk library for
Linux seems to be to build it yourself. The sources are
included in the source release of Tomcat.
dbc@csit.fsu.edu
14
dbc@csit.fsu.edu
15
Building mod_jk
Go to the directory
jakarta-tomcat-3.2-src/src/native/apache1.3
dbc@csit.fsu.edu
16
dbc@csit.fsu.edu
17
dbc@csit.fsu.edu
18
Remarks
Configuring Workers
In Tomcat 3.2, the generated include file, jakarta-tomcatX.X/conf/mod_jk.conf-auto has a reference to the file
workers.properties in the same directory. You will probably
have to manually edit this file.
Enclosed comments are fairly self-explanatory. If necessary
change the Java home directory and the path-component
separator (to / rather than \ for Linux).
You may also need to choose one or the other of ajp12 and
ajp13, and comment out references to the other.
I went with ajp12. ajp13 is supposed to be an improved protocol, but I
know and love ajp12.
dbc@csit.fsu.edu
20
dbc@csit.fsu.edu
21