tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mel Martinez <melaqu...@yahoo.com>
Subject Re: ajp12 vs ajp13 & mod_jk.conf-auto
Date Tue, 13 Feb 2001 23:11:20 GMT
Thanks, Filip.

I'll try the changes you suggested.

Now, if I could just get someone to tell me why apache
Alias and Rewrites are not working with tomcat...


Mel



--- Filip Hanik <filip@filip.net> wrote:
> yes,
> the JkMount command looks like this
> 
> JkMount context workername
> 
> so the autogenerated ajp12 is just the worker name
> "ajp12"
> 
> in the workers.properties file you can change the
> protocol that the worker
> is using.
> the property file has the following format
> 
> worker.<workername>.<propertyname>=<value>
> worker.ajp12.port=8007
> worker.ajp12.host=localhost
> worker.ajp12.type=ajp13
> 
> so just change the last line to use ajp13. now you
> have to modify server.xml
> to start a ajp13 connector on the port 8007 and
> change the port for ajp12.
> 
> the nice thing with the autogenerated file is that
> your webapps can be
> dynamic.
> but if you need to do a lot of fancy stuff, you
> should create your own file
> for the mod_jk configuration.
> 
> try playing around with it, and if you have a
> specific problem let me know
> and I can help you out.
> 
> Filip
> 
> ~
> Namaste - I bow to the divine in you
> ~
> Filip Hanik
> Software Architect
> filip@filip.net
> www.filip.net
> ----- Original Message -----
> From: "Mel Martinez" <melaquias@yahoo.com>
> To: <tomcat-user@jakarta.apache.org>
> Sent: Tuesday, February 13, 2001 2:32 PM
> Subject: ajp12 vs ajp13 & mod_jk.conf-auto
> 
> 
> > Question:
> >
> > what determines whether ajp12 or ajp13 will be
> > specified for a jkmount statement in the
> > auto-generated mod_jk.conf-auto file?
> >
> > I.E., it always generates statements like:
> >
> > JkMount /myapp/servlet/* ajp12
> > JkMount /myapp/*.jsp ajp12
> >
> > I've even tried disabling all reference to ajp12
> from
> > server.xml and workers.properties but that had no
> > effect.
> >
> > Is the only way to force the use of Ajp13 to
> manually
> > edit the mod_jk.conf file?
> >
> > Should I even be worrying about this?
> >
> > Thanks,
> >
> > mel
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Get personalized email addresses from Yahoo! Mail
> - only $35
> > a year!  http://personal.mail.yahoo.com/
> >
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, email:
> tomcat-user-help@jakarta.apache.org
> >
> >
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, email:
> tomcat-user-help@jakarta.apache.org
> 


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

Mime
View raw message