Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I am able to get Apache talk to Tomcat through mod_proxy. I actually referred to the below links to get this working (mostly changes to httpd.conf in Apache and server.xml in Tomcat):</p> <p><a href="http://tomcat.apache.org/tomcat-5.5-doc/proxy-howto.html" rel="nofollow">http://tomcat.apache.org/tomcat-5.5-doc/proxy-howto.html</a> http://confluence.atlassian.com/display/DOC/Using+Apache+with+mod_proxy <a href="http://publib.boulder.ibm.com/infocenter/cqhelp/v7r0m0/index.jsp?topic=/com.ibm.rational.clearquest.webadmin.doc/rwp/t_config_mod_proxy_support.htm" rel="nofollow">http://publib.boulder.ibm.com/infocenter/cqhelp/v7r0m0/index.jsp?topic=/com.ibm.rational.clearquest.webadmin.doc/rwp/t_config_mod_proxy_support.htm</a></p> <p>I then configured PHP with Apache following [this link][1] and got the PHP configured with Apache.</p> <p>So as a test program, I am able to reach servlet programs (Tomcat) from a Apache like <a href="http://localhost/example/servlet" rel="nofollow">http://localhost/example/servlet</a> then access PHP programs too with a URL like <a href="http://localhost/phptest" rel="nofollow">http://localhost/phptest</a></p> <p>ZeissS, Paul and Vincent. Thanks all for your help. Even though I have a long way to go, this looks like the starting point.</p> <pre><code>=== httpd.conf in Apache server === # enable the below or add new LoadModule proxy_module modules/mod_proxy.so LoadModule proxy_http_module modules/mod_proxy_http.so # Start Modules for PHP LoadModule php5_module "c:/php/php5apache2_2.dll" AddHandler application/x-httpd-php .php # configure the path to php.ini PHPIniDir "c:/windows" # Just at the end of 'Main' server configuration - add the below ProxyRequests On ProxyVia On &lt;Proxy *&gt; Order deny,allow Allow from all &lt;/Proxy&gt; ProxyPass /examples http://localhost:8080/examples/ ProxyPass /servlets http://localhost:8080/examples/servlets/ ProxyPass /jsp http://localhost:8080/examples/jsp/ ProxyPassReverse /examples http://localhost:8080/examples/ # Finish Modules for PHP === server.xml in Tomcat === &lt;!-- searched the below connector port=8080 and I replaced that tag with the below --&gt; &lt;Connector port="8080" maxHttpHeaderSize="8192" maxThreads="150" minSpareThreads="25" maxSpareThreads="75" enableLookups="false" redirectPort="8443" acceptCount="100" connectionTimeout="20000" disableUploadTimeout="true" proxyName="http://localhost" proxyPort="80"/&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload