Apache front Tomcat configure for uPortal

To use appache http server in front of tomcat

 

  1. load the setting in a seperated file into httpd.conf under apache http server conf folder.
    LoadModule proxy_module modules/mod_proxy.so
    LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
    ProxyRequests Off
    <Proxy *>
            Order deny,allow
            Deny from all
            Allow from xxx.xxx.xxx.edu.au (your computer name, without http://)
    </Proxy>
    ProxyPass         / ajp:// xxx.xxx.xxx.edu.au:8019/ retry=0
    ProxyPassReverse     / ajp:// xxx.xxx.xxx.edu.au:8019
    / retry=0
     
  2. tomcat configure file: server.xml,
    • comment out 8080 connector,
    • enable the <Connector port="8019 " address="xxxx.xxx.xx.edu.au"  enableLookups="false" redirectPort="8443" protocol="AJP/1.3" />

 

Note : the port number must match

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值