Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Nov 2006 11:04:33 +0100
From:      "Niek Dekker" <niekdekker@gmail.com>
To:        freebsd-apache@freebsd.org
Subject:   Help requested for Apache 2.2.3 with mod_proxy_ajp on FreeBSD 6.2_RC1 amd64
Message-ID:  <e02150200611210204u758a266fw3638b938ecbe16bd@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
mod_proxy_ajp gives me a headache on FreeBSD 6.2_RC1 amd64.

Yesterday I upgraded a test server from FreeBSD 6.2_beta2 amd64 to
6.2_rc1 amd64.
I am using apache 2.2.3 with mod_proxy and mod_proxy_ajp to connect to
Tomcat 5.5.20.

This ajp configuration used to work well, but after the upgrade, connections
via the ajp proxy are extremely slow. It seems as if something is timing
out, as it takes several minutes until apache returns data. Connecting
directly to Tomcat Coyote ports works well. There is nothing in the
httpd error logs or the tomcat logs, nor in the system message log
indicating what is going wrong.

When using mod_jk, all works fine.

I have found a bug report in ASF Bugzilla that may be related:
http://issues.apache.org/bugzilla/show_bug.cgi?id=36495

I hope someone here can help me finding the problem.

Below is an excerpt of my httpd.conf:

LoadModule proxy_module libexec/apache22/mod_proxy.so
LoadModule proxy_ajp_module libexec/apache22/mod_proxy_ajp.so

<IfModule proxy_module>
   ProxyRequests Off

   <Proxy *>
   Order Deny,Allow
   Deny from all
   Allow from [my ip]
   </Proxy>
   <IfModule proxy_ajp_module>
        <Location /[mylocation]/>
        ProxyPass ajp://localhost:8009/
        SSLrequireSSL
        </Location>
</IfModule>
</IfModule>


Niek



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e02150200611210204u758a266fw3638b938ecbe16bd>