I am running into a problem with accept-language/getLocales() when I use
mod_jk  with the ajp13 connector.

System Configuration:

RedHat Linux 7.2
Apache 1.3.22
Tomcat 4.0.4-B1
mod_jk.so 4.0.4-B2 version 1.2.0

When I go through mod_jk, getLocales() only returns the default locale of
the container. It does not return the locales that are specified by the
accept-language header.  I looked at the source and didn't see anything
really jump out at me. FWIW, the problem is also manifested with the 1.1
connector distributed

If I connect to the http 1.1 connector on port 8080, I get:

<!-- protocol=HTTP/1.1 -->
<!-- Accept-Language=de,en-us;q=0.8,fr;q=0.5,es;q=0.3 -->
<!-- Locale=de -->
<!-- Locale: de -->
<!-- Locale: en_US -->
<!-- Locale: fr -->
<!-- Locale: es -->

If I connect through apache using ajp13 and mod_jk 1.2 I get:

<!-- protocol=HTTP/1.1 -->
<!-- Accept-Language=de,en-us;q=0.8,fr;q=0.5,es;q=0.3 -->
<!-- Locale=en_US -->
<!-- Locale: en_US -->

The real difference seems to be going through mod_jk.so.

Any ideas on this would be appreciated.

George Sexton
MH Software, Inc.
Voice: 303 438 9585
http://www.mhsoftware.com



--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to