Just for informational purposes, in case someone needs the info.
you can't do a:
/*/servlet/*
but you can do a:
/*/servlet/
Notice just the one *.
Got this from:
glenn 02/04/21 15:57:11
Modified: jk/native/apache-1.3 mod_jk.c
jk/native/common jk_logger.h jk_uri_worker_map.c jk_util.c
jk/doc mod_jk-howto.html
Log:
Apache mod_jk 1.2 new features.
Added JkRequestLogFormat for Apache style request logging
including Tocmat request latency in seconds and microseconds.
Added JkAutoAlias, this can be used to automatically Alias
web application context directories so that static files
can be served by Apache instead of Tomcat. When configured,
requests for a WAR file in the Tomcat appBase (webapps) directory
are forbidden. Requests for the WEB-INF and META-INF directories
within a web application context dir are also forbidden and will
return an HTTP 403 error.
Added ability to JkMount so that /*/servlet/ can be used to
configure mod_jk to pass all servlet requests on to Tomcat
for any web application context.
Revision Changes Path
1.26 +521 -12
jakarta-tomcat-connectors/jk/native/apache-1.3/mod_jk.c
Please see
http://marc.theaimsgroup.com/?l=tomcat-dev&m=101942986517696&w=2 for
complete commit.
rls
"Jim Urban" <[EMAIL PROTECTED]>
10/24/2002 05:27 AM
Please respond to "Tomcat Users List"
To: "'Milt Epstein'" <[EMAIL PROTECTED]>, "'Tomcat Users List'"
<[EMAIL PROTECTED]>
cc:
Subject: RE: Apache/2 and Tomcat/4 not talking
Thanks for all the help. I have gotten everything working. I have
Apache/2
with SSL serving the static content and forwarding the servlet requests to
Tomcat 4.0.4 under JDK 1.3 on W2K. To the doubters I say "It can be done"
and the people in this community are vary helpful if you ask the right
questions.
Thanks!
Jim Urban - [EMAIL PROTECTED]
Park City Solutions Inc.
Clinical Connectivity Suite Product Manager
Suite 295
500 Park Blvd.
Itasca, IL 60143
Voice: (630) 250-3045 x106
Fax: (630) 250-3046
CONFIDENTIALITY NOTICE
This message and any included attachments are from Park City Solutions
Inc.
and are intended only for the entity to which it is addressed. The
contained
information is confidential and privileged material. If you are not the
intended recipient, you are hereby notified that any use, dissemination,
or
copying of this communication is strictly prohibited and may be unlawful.
If
you have received this communication in error please notify the sender of
the delivery error by e-mail or call Park City Solutions Inc. corporate
offices at (435) 654-0621
-----Original Message-----
From: Milt Epstein [mailto:mepstein@;uiuc.edu]
Sent: Wednesday, October 23, 2002 5:14 PM
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: RE: Apache/2 and Tomcat/4 not talking
On Wed, 23 Oct 2002, Jim Urban wrote:
> I have the following in my Apache httpd.conf:
>
> # Static files in the webapp are served by apache
> Alias /ccs_v32 y:/tomcat4.0.4/webapps/ccs_v32
> # All servlets goes to worker1
> JkMount /*/servlet/* worker1
>
> The alias works because Apache serves my static files just fine.
Not sure you can do that -- i.e. put that '*' before the "/servlet/".
(But not sure that's your problem either.) You might try it without
it, i.e. use "/servlet/*" as the pattern, or perhaps
"/ccs_v32/servlet/*".
> Here is my workers.properties:
>
> workers.apache_log=d:/apache_43/apache2/logs/
> workers.tomcat_home=y:/tomcat4.0.4
> workers.java_home=d:/jdk1.3/
> ps=/
>
> # Define worker, ajp13
> worker.list=worker1
>
> # Set properties for worker1 (ajp13)
> worker.worker1.type=ajp13
> worker.worker1.host=localhost
> worker.worker1.port=8009
> worker.worker1.lbfactor=50
> worker.worker1.cachesize=10
> worker.worker1.cache_timeout=600
> worker.worker1.socket_keepalive=1
> worker.worker1.socket_timeout=300
>
> Jim
>
>
>
> -----Original Message-----
> From: Milt Epstein [mailto:mepstein@;uiuc.edu]
> Sent: Tuesday, October 22, 2002 7:06 PM
> To: Tomcat Users List; [EMAIL PROTECTED]
> Subject: Re: Apache/2 and Tomcat/4 not talking
>
> On Tue, 22 Oct 2002, Jim Urban wrote:
>
> > I have spent the past two days trying to get Apache/2 to forward
servlet
> > requests to Tomcat. Here are the particulars:
> >
> > Java 1.3.0
> > Win 2K SP3
> > Tomcat 4.0.4
> > Apache/2 0.43
> > AJP13
> > SSL
> >
> > Mod_jk.conf
> > ########## Auto generated on Tue Oct 22 12:01:16 CDT 2002##########
> >
> > <IfModule !mod_jk.c>
> > LoadModule jk_module modules/mod_jk.dll
> > </IfModule>
> >
> > JkWorkersFile "y:/Tomcat4.0.4/conf/jk/workers.properties"
> > JkLogFile "y:/Tomcat4.0.4/logs/mod_jk.log"
> >
> > JkLogLevel debug
> > JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
> [ ... ]
>
> You don't have any JkMount directives. JkMount directives are of the
> form:
>
> JkMount url-pattern worker-name
>
> They tell Apache what URL's (based on a match of the URL pattern) to
> forward to Tomcat. worker-name should be defined in
> workers.properties with a number of:
>
> worker.worker-name.property=value
>
> where property is { host, port, type }.
>
> Milt Epstein
> Research Programmer
> Integration and Software Engineering (ISE)
> Campus Information Technologies and Educational Services (CITES)
> University of Illinois at Urbana-Champaign (UIUC)
> [EMAIL PROTECTED]
>
>
> --
> To unsubscribe, e-mail:
<mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail:
<mailto:tomcat-user-help@;jakarta.apache.org>
>
Milt Epstein
Research Programmer
Integration and Software Engineering (ISE)
Campus Information Technologies and Educational Services (CITES)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]
--
To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>
--
To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>