httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kohmoto <kohm...@iris.eonet.ne.jp>
Subject Re: [users@httpd] Start apache with tomcat
Date Thu, 26 Oct 2017 08:11:58 GMT
Hi,

This is may way with httpd and tomcat.

Step 1.
The following phrase is comment out  from server.xml.
     <!--
     <Connector port="8080" protocol="HTTP/1.1"
                connectionTimeout="20000"
                redirectPort="8443" />
     -->

Step 2
The followings are activated in httpd.conf

LoadModule proxy_module lib/httpd/modules/mod_proxy.so
LoadModule proxy_ajp_module lib/httpd/modules/mod_proxy_ajp.so

Step 3
The following statement is added in httpd.conf

Include /etc/httpd/conf/extra/httpd-proxy.conf

Step 4
The location of httpd-proxy.conf is httpd/conf/extra/httpd-proxy.conf

The following lines are written in httpd-proxy.conf for test.

<Location /examples/>
         ProxyPass ajp://localhost:8009/examples/
</Location>

<Location /manager/>
         ProxyPass ajp://localhost:8009/manager/
</Location>


Step 5
Start httpd and tomcat.

Thank you.

Yours truly,
Kazuhiko Kohmoto



On 2017/10/26 15:24, Hemant Chaudhary wrote:
> Hi All,
>
> I am using tomcat-7.0.82 and httpd-2.4.25.
>
>
> Thanks
> Hemant


Mime
View raw message