You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Harry Hartley <hh...@pobox.com> on 2005/10/27 11:56:35 UTC
RE: Forwarding *all* webapps with mod_jk
Ditto,
Please let me know if you find a solution.
Harry
> -----Original Message-----
> From: Simon MARTIN [mailto:simon.martin@gmx.at]
> Sent: Wednesday, December 29, 2004 5:25 AM
> To: tomcat-user@jakarta.apache.org
> Subject: Forwarding *all* webapps with mod_jk
>
> Hi,
>
> I've integrated Tomcat successfully into Apache using mod_jk, but there's
> something I've found nothing about: forwarding *all* webapps with only one
> static statement in the configuration files.
>
> I've thought about something like this:
>
> JkMount /tomcat/* ajp13:* (which of course is wrong I know)
>
> So, everything called like /tomcat/webApp from Apache should be forwarded
> to
> Tomcat -- but without the /tomcat at the beginning (as Tomcat of course
> does not
> find the webapp at /tomcat/ but would find it at /webApp).
>
> Background is that I want to dynamically deploy my webapps, but I don't
> always
> want to modify any configuration file or restart Apache and / or Tomcat.
>
> Thanks in advance and kind regards,
> Simon
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
SV: Forwarding *all* webapps with mod_jk
Posted by Swanthe Lindgren <sw...@ucr.uu.se>.
I have solved a similar problem using JkAutoAlias. I guess in your case it
would look something like
JkMount /tomcat/* MyWorker
JkAutoAlias c:/server/tomcat_development/webapps
You might notice that I'm running windows, but just replace the path to your
webapps and you should be up and running.
Swanthe Lindgren
Systemutvecklare
Uppsala Kliniska Forskningscentrum
Swanthe Lindgren
Systemutvecklare
Uppsala Kliniska Forskningscentrum
-----Ursprungligt meddelande-----
Från: Harry Hartley [mailto:hhartley@pobox.com]
Skickat: den 27 oktober 2005 11:57
Till: 'Tomcat Users List'
Ämne: RE: Forwarding *all* webapps with mod_jk
Ditto,
Please let me know if you find a solution.
Harry
> -----Original Message-----
> From: Simon MARTIN [mailto:simon.martin@gmx.at]
> Sent: Wednesday, December 29, 2004 5:25 AM
> To: tomcat-user@jakarta.apache.org
> Subject: Forwarding *all* webapps with mod_jk
>
> Hi,
>
> I've integrated Tomcat successfully into Apache using mod_jk, but
> there's something I've found nothing about: forwarding *all* webapps
> with only one static statement in the configuration files.
>
> I've thought about something like this:
>
> JkMount /tomcat/* ajp13:* (which of course is wrong I know)
>
> So, everything called like /tomcat/webApp from Apache should be
> forwarded to Tomcat -- but without the /tomcat at the beginning (as
> Tomcat of course does not find the webapp at /tomcat/ but would find
> it at /webApp).
>
> Background is that I want to dynamically deploy my webapps, but I
> don't always want to modify any configuration file or restart Apache
> and / or Tomcat.
>
> Thanks in advance and kind regards,
> Simon
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org