Hi Yuval,

did you find out in the meantime, whether you were using the tcnative (aka APR) connector?

Regards,

Rainer

On 19.02.2009 11:34, Yuval Perlov wrote:
Just the swapping responses has me concerned.

Thank you so much for the rest of your responses we will put them to
good use once we give up on AJP completely.

Yuval

On Feb 18, 2009, at 8:45 PM, Christopher Schultz wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Yuval,

On 2/17/2009 1:48 PM, Yuval Perlov wrote:
Is APR part of tomcat or apache [httpd]?

APR is the Apache Portable Runtime. Technically, it's its own beast and
is used by both httpd and Tomcat (optionally).

If I am running on linux and have no
.so files in my tomcat directory does that mean I have no APR installed?

The Tomcat directory isn't the only place .so files could be located.
Anywhere in the java.library.path is possible.

If you have an AprLifecycleListener configured in your server.xml, then
you are attempting to use APR. If you get a message in catalina.out on
startup that says something like "APR Configured" or "APR library not
found" then you have your answer.

On a more positive note, we switched to proxy_http (after making the
necessary code changes) and everything works now - no more mixed content.

Of course we lost a lot of necessary functionality:
1. request.isSecure() doesn't work

You can always use https :)

2. we don't know the server name we are hit with (since it is "hard
coded" in httpd.conf)

This should be an option in mod_proxy. Is it not? ProxyPreserveHost?

3. we have no access to the source IP (for geo location)

Why not use mod_headers to convert the original IP address into an
X-Original-IP header. Better yet, use the X-Forwarded-For header that
should be set by default by mod_proxy.

BTW - Am I the only one that is seriously worried that this kind of
problem can even exist on a platform of this maturity?

Which problem? The "swapping-responses" problem or everything else
you've outlined about your inadequate configuration?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to