Tomcat6 httpd connector utf8

Marti, Robert RJM002 at shsu.edu
Thu Sep 10 19:07:05 UTC 2009


Apologies - I misremembered the version of httpd in rhel5.  Proxy_ajp should support jkoptions just fine - my short session with google implies that anyway.

Mod_jk is for apache 2.0.  proxy_ajp is for apache 2.2.

Rob Marti

-----Original Message-----
From: redhat-list-bounces at redhat.com [mailto:redhat-list-bounces at redhat.com] On Behalf Of Nabeel Moidu
Sent: Thursday, September 10, 2009 1:20 PM
To: General Red Hat Linux discussion list
Subject: Re: Tomcat6 httpd connector utf8

On Thu, Sep 10, 2009 at 2:33 PM, Marti, Robert <RJM002 at shsu.edu> wrote:

> I would look to whatever repo you got the tomcat6 and httpd 2.2.3 
> packages from.  You can't really expect the RHEL package for mod_jk to 
> work with non RHEL apache/tomcat.
>
> Rob Marti
> _______


I would expect the RHEL repo to have the package coz the httpd is from the rhel repo. The issue is that it comes with the mod_proxy_ajp connector which does not support JkOptions (or at least AFAIK) while the mod_jk in the repo isn't compatible with the httpd. One option would be to downgrade the httpd to a 2.0.x version. But just in case someone here has some other ideas, I'd like to try out those.

Nabeel



>
> Hi
>
> I have a setup of tomcat6 integrated with httpd-2.2.3-22.el5 using 
> mod_proxy_ajp
>
> My issue is when there's UTF8 encoded URL's to be passed between the 
> tomcat and httpd, the url is corrupted.
>
> After a little bit of googling, I've found that the following needs to 
> be enabled
>
> in tomcat server.xml
>
> <Connector port="8009" protocol="AJP/1.3" URIEncoding="UTF-8"/>
>
> and mod_jk.conf
>
>  JkOptions +ForwardURICompatUnparsed
>
>
> Is there an equivalent to JkOptions in mod_proxy_ajp ?
> Or
> is there a mod_jk available for httpd-2.2.3 . The one on RHN seems to 
> work only for Apache 2.0.x I get this error when I try it on my httpd
>
> Starting httpd: httpd: Syntax error on line 210 of
> /etc/httpd/conf/httpd.conf: Syntax error on line 2 of
> /etc/httpd/conf.d/mod_jk.conf: API module structure `jk_module' in 
> file /etc/httpd/modules/mod_jk.so is garbled - perhaps this is not an 
> Apache module DSO?
>
>
> Any help anyone ?
>
> --
> Thanks and Regards
> Nabeel Moidu
> Doha, Qatar
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>



--
Thanks and Regards
Nabeel Moidu
Doha, Qatar
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list




More information about the redhat-list mailing list