Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

As this install of Confluence is powered by Tomcat we can front Confluence with the Apache Web Server.

Enable Tomcat AJP Connector

First we must enable the standard port 9009 in the Confluence Tomcat by editing /opt/confluence/conf/server.xml.

...

Code Block
langhtml
useURIValidationHack="false" URIEncoding="UTF-8"/>

        <Connector port="8009" protocol="AJP/1.3" />

        <Engine name="Standalone" 

...

Select and Enable Context Path

Often you want to use the Apache Web Server to front more than one web application. In order to do this you want each web application to work within it's own context. This is pretty standard in most java applications. As such, we will pick a context path, in this case "wiki". As such the original url, http://localhost:8080/ changes to http://localhost:8080/wiki

Modify the bundled Confluence Tomcat Context directive and change the attribute path="" to path="/wiki",

Code Block
langhtml
<Context path="/wiki" docBase="../confluence" debug="0" reloadable="false" useHttpOnly="true"> 

This change does not take effect until the Confluence service stopped and started again. We will do that in the the next section.

not

Warning

Still need to fill in clearer instructions on this topic.

...