The content on this page relates to platforms which are not supported by JIRA. Consequently, Atlassian can not guarantee providing any support for it. Please be aware that this material is provided for your information only and using it is done so at your own risk. |
Step 1: Configure JIRA's application server
Enable the AJP Connector on the Tomcat container hosting JIRA by uncommenting the following element in $JIRA_HOME/conf/server.xml:
<Connector port="8009" URIEncoding="UTF-8" enableLookups="false" redirectPort="8443" protocol="AJP/1.3" />
Step 2: Configure the Apache server
Using Apache 2.0.x
- Apache 2.0.x users must install
mod_jkand configure it by adding the following tohttpd.confor included files:LoadModule jk_module modules/mod_jk.so JkWorkersFile conf/workers.properties JkLogFile logs/mod_jk.log JkLogLevel info
- Add the following lines inside the
VirtualHosttag, presenting JIRA to the userbase:JkMount /jira jira_worker JkMount /jira/* jira_worker
- Define the connections to the JIRA application in the
conf/workers.propertiesfile:worker.jira_worker.host=JIRA_HOST_NAME worker.jira_worker.port=AJP_CONNECTOR_PORT (usually 8009) worker.jira_worker.type=ajp13
Using Apache 2.2.x
Apache 2.2.x users can opt for native protocol support using mod_proxy_ajp.
- Enable
mod_proxyandmod_proxy_ajpsubmodule for protocol support inhttpd.conf:LoadModule proxy_module modules/mod_proxy.so LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
- Add the following in the
VirtuaHostpresenting JIRA:ProxyRequests Off <Proxy *> Order deny,allow Allow from all </Proxy> ProxyPass / ajp://JIRA_HOST_NAME:AJP_CONNECTOR_PORT/ ProxyPassReverse / ajp://JIRA_HOST_NAME:AJP_CONNECTOR_PORT/