Re: mod_jk garbled - how to change JK* directives for ProxyPass?

2006-09-06 Thread Jim Weir
From: Mladen Turk <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" To: Tomcat Users List Subject: Re: mod_jk garbled - how to change JK* directives for ProxyPass? Date: Wed, 06 Sep 2006 19:29:12 +0200 Jim Weir wrote: From: Pid <[EMAIL PROTECTED]> Tom wrote: > >

Re: mod_jk garbled - how to change JK* directives for ProxyPass?

2006-09-06 Thread Tom
Of course you are correct about that catch 22 comment. I did find a package called httpd-devel that I downloaded and I recompiled mod_jk.so with everything working. Mladen Turk wrote: Tom wrote: I would like to build mod_jk.so rather than figure out how to use mod_proxy_ajp since I just do n

Re: mod_jk garbled - how to change JK* directives for ProxyPass?

2006-09-06 Thread Mladen Turk
Tom wrote: I would like to build mod_jk.so rather than figure out how to use mod_proxy_ajp since I just do not understand the new interface. The catch 22 I run into is that axps is not installed on my machine. If I had it I would just build a mod_jk. There is no catch 22. Like for Apache

Re: mod_jk garbled - how to change JK* directives for ProxyPass?

2006-09-06 Thread Tom
I would like to build mod_jk.so rather than figure out how to use mod_proxy_ajp since I just do not understand the new interface. The catch 22 I run into is that axps is not installed on my machine. If I had it I would just build a mod_jk. I suspect will try to install apache 2.1 just to get

Re: mod_jk garbled - how to change JK* directives for ProxyPass?

2006-09-06 Thread Mladen Turk
Jim Weir wrote: From: Pid <[EMAIL PROTECTED]> Tom wrote: > > Mladen Turk wrote: >> David Smith wrote: You should really consider learning how to quote :) If I am following this thread correctly it seems that with Apache 2.2.3 the better(suggested?) way to connect to Tomcat is to use mod_pro

Re: mod_jk garbled - how to change JK* directives for ProxyPass?

2006-09-06 Thread Jim Weir
From: Pid <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: Tomcat Users List Subject: Re: mod_jk garbled - how to change JK* directives for ProxyPass? Date: Wed, 06 Sep 2006 16:50:05 +0100 Do a mod_rewrite with the [P] directive for JSPs RewriteRule ^\/(.+)\.jsp(.+)?

Re: mod_jk garbled - how to change JK* directives for ProxyPass?

2006-09-06 Thread Pid
Do a mod_rewrite with the [P] directive for JSPs RewriteRule ^\/(.+)\.jsp(.+)? ajp://tomcat.server:8009/$1.jsp$2 [P,L] RewriteRule ^\/(.+)\.xml(.+)? ajp://tomcat.server:8009/$1.xml$2 [P,L] RewriteRule ^\/(.+)\/j_security_check(.+)? ajp://tomcat.server:8009/$

Re: mod_jk garbled - how to change JK* directives for ProxyPass?

2006-09-06 Thread edward pedersson
With JKMount you would have done this with the location JkMount worker1 Order allow,deny Allow from all but I think with the mod_proxy_ajp you need to do something like this ProxyPass $1.jsp ajp://localhost:8009/$1.jsp don't know if that will actually work as i am not an apache g

Re: mod_jk garbled - how to change JK* directives for ProxyPass?

2006-09-06 Thread Tom
Now, after implementing mod_proxy_ajp, I do not have a clue how to change all of the JK* settings to use the new mod_proxy_ajp approach. Previously I used JKmount /*.jsp worker1 I am not sure how to use a for a . I did experiment with but that did not seem to work. Mladen Turk wrote: Da

Re: mod_jk garbled

2006-09-06 Thread David Smith
Ooops. mod_proxy -- that's what I meant. Not enough coffee yet when I wrote my response :-) --David Mladen Turk wrote: > David Smith wrote: > >> And the Apache httpd module API is as far as I understand a moving >> target. Modules for 2.0.x are not compatible with 2.2. Try one >> built for 2

Re: mod_jk garbled

2006-09-06 Thread Mladen Turk
David Smith wrote: And the Apache httpd module API is as far as I understand a moving target. Modules for 2.0.x are not compatible with 2.2. Try one built for 2.2, or if available, It is not available, neither it will be. The preferred solution is to use the mod_proxy with mod_proxy_ajp and

Re: mod_jk garbled

2006-09-06 Thread David Smith
And the Apache httpd module API is as far as I understand a moving target. Modules for 2.0.x are not compatible with 2.2. Try one built for 2.2, or if available, use the mod_rewrite for 2.2. It's supposed to be able to handle the AJP/1.3 protocol. --David Tom wrote: I downloaded mod_jk-a

Re: mod_jk garbled

2006-09-05 Thread Tom
I downloaded mod_jk-apache-2.0.46-linux-i686.so from http://www.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/linux/jk-1.2.18/ into /usr/lib/httpd/modules and renam

Re: mod_jk garbled

2006-09-05 Thread David Smith
These messages might also occur when using modules built for other versions of Apache httpd. Are you sure your mod_jk.so module is for Apache httpd 2.2? -David Tom wrote: I have downloaded mod_jk.so from the Tomcat site and when I attempt to use it via the LoadModule directive in Apache I get

mod_jk garbled

2006-09-05 Thread Tom
I have downloaded mod_jk.so from the Tomcat site and when I attempt to use it via the LoadModule directive in Apache I get an error that is explained as follows: Q. What's that message about 'garbled DSO ?' A. It's related to Apache EAPI, the message 'mod_jk.so is garbled - perhaps this is not