httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Laberge <jlabe...@redboxstudios.com>
Subject Re: [users@httpd] Tomcat.
Date Tue, 06 May 2003 16:59:26 GMT
On 5/6/03 12:53 PM, "James B. Muir" <James.B.Muir@Hitchcock.ORG> wrote:
Thanks you are beeing very helpfull, probably more so than you should.

I imagine if I want any case of .jsp and .java I should use something like
this?

JkMount *.jsp tomcat1
JkMount *.java tomcat1

Thank you
> --- 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 workers.properties 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.
> -James
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>  "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 

-- 

Art visuel, communication, multim├ędia et internet

Jonathan Laberge
jlaberge@redboxstudios.com

Les Studios RedBox inc.
9643 boul. LaSalle
LaSalle (Qu├ębec)
Canada H8R 2N7

www.redboxstudios.com

514 368 3962 bur/off
514 368 9212 tel/fax
514 865 2554 cell/mob


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message