...
- After you have configured Tomcat in Step 1 you will now need to go to your Apache config directory to setup mod_proxy
No Format cd /path/to/apache/config
- Open httpd.conf for editing and uncomment the following modules
No Format LoadModule proxy_module /usr/lib/apache2-prefork/mod_proxy.so #file path to the mod_proxy.so and mod_proxy_ajp.so may vary LoadModule proxy_ajp_module /usr/lib/apache2-prefork/mod_proxy_ajp.so
- You may chose to keep mod_proxy_ajp configurations separate by creating a new file (i.e., mod_proxy_ajp.conf), but you will need to map this path in your httpd.conf file
No Format Include /path/to/apache/stuff/mod_proxy_ajp.conf
- Whether you place your mod_proxy_ajp configurations in a separate file or in the httpd.conf is entirely up to you, but you will need to include the following information.
No Format ProxyRequests Off <Proxy *> Order deny,allow Deny from all Allow from localhost </Proxy> ProxyPass / ajp://127.0.0.1:8009/ retry=0 ProxyPassReverse / ajp://127.0.0.1:8009/ retry=0
- The IP address and port number in the ProxyPass match the port you defined in the Tomcat AJP 1.3 Connector (Step 1)
...
Warning | ||
---|---|---|
| ||
Please send us feedback at uportal-user@lists.ja-sig.org |