httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James.B.M...@Hitchcock.ORG (James B. Muir)
Subject Re: [users@httpd] Tomcat.
Date Tue, 06 May 2003 12:53:38 GMT
--- You wrote:
With you knowledge of mod_jk, how is it possible to tell Apache, that .java
files are to be treated as a servlet?
--- end of quote ---

With mod_jk, you use the JkMount directive. There are some good examples out on the web. Here
is a simple example using the Tomcat "examples":

JkMount /examples/*.jsp tomcat1
JkMount /examples/servlet/* tomcat1

where tomcat1 is the worker I defined in the file.

Any URL that refers to a document in the "directory" /examples/ and has a suffix .jsp will
be forwarded to Tomcat.
Any URL that refers to a document in the "directory" /examples/servlet/ will be forwarded
to tomcat.

Hope this helps.

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message