There's something i dont quite understand as shown below:
a. Apache web server httpd.conf
ProxyPass /cgi-qa-axis-rt/
ajp://localhost:8988/cgi-qa-axis-rt/
ProxyPassReverse /cgi-qa-axis-rt/
ajp://localhost:8988/cgi-qa-axis-rt/
b. On the cgi-qa-axis-rt context, the server.xml is as follows:
<!-- -->
<Connector executor="tomcatThreadPool"
port="8988" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
<!-- Define a SSL HTTP/1.1 Connector on port 8443
This connector uses the JSSE configuration, when using APR, the
connector should be using the OpenSSL style configuration
described in the APR documentation -->
<!--
<Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"
maxThreads="150" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLS" />
-->
<!-- Define an AJP 1.3 Connector on port 8009 -->
<!--Connector port="8888" protocol="AJP/1.3" redirectPort="8443" connectionTimeout="3000000" keepAliveTimeout="3000000" /-->
Question:
Apache web server will transfer the request to cgi-qa-axis-rt using ajp protocol. In cgi-qa-axis-rt server.xml, this ajp connector port is commented out. In cgi-qa-axis-rt server.xml, port 8988 is using HTTP protocol.
Why does it work?
Apache managed to transfer request to cgi-qa-axis-rt.
Strange