tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ho Fat Tsang" <nam...@gmail.com>
Subject Unable to extract LocalAddr when using AJP
Date Tue, 05 Feb 2008 04:45:21 GMT
Dear all,

       I am using Apache 2.2 + Tomcat 5.5 under mod_proxy_ajp and AJP
connector. I found that i am not able to extract the localAddr when a
request is received from the Tomcat.

Apache configuration.

ProxyPass ajp://<context> retry=3
ProxyPassReverse ajp://<context>
ProxyPassReverseCookiePath /<context /
ProxyPassReverseCookieDomain / /

Tomcat connector

<!-- Define a non-SSL HTTP/1.1 Connector on port 8080 -->
<Connector port="8081" maxHttpHeaderSize="8192"
   maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
   enableLookups="false" redirectPort="8443" acceptCount="100"
   connectionTimeout="20000" disableUploadTimeout="true"
   compression="on" compressionMinSize="2048"
noCompressionUserAgents="gozilla, traviata"

compressableMimeType="text/html,text/xml,text/javascript,text/css,text/plain"/>

<!-- Define an AJP 1.3 Connector on port 8089 -->
<Connector port="8089" bufferSize="8192" enableLookups="false"
redirectPort="8081" protocol="AJP/1.3" />


Any help ? Thank
Regards
Twinsen

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message