Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Nov 2006 18:34:12 +0100
From:      Niek <niek@bigfoot.com>
To:        freebsd-questions@freebsd.org
Subject:   problem with mod_proxy_ajp since upgrade to 6.2_rc1
Message-ID:  <4561E714.1080700@bigfoot.com>

Next in thread | Raw E-Mail | Index | Archive | Help
Today I upgraded a test server from 6.2_beta2 to 6.2_rc1.
I am using apache 2.2.3 with mod_proxy and mod_proxy_ajp to connect to 
Tomcat 5.5.20.
This 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.

I hope someone on this list 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: <http://docs.FreeBSD.org/cgi/mid.cgi?4561E714.1080700>