IntroductionRunning Confluence behind a web server should be done for performance reasons in high-load environments. In general, web server caching and thread management is far superior to that provided by your application server's HTTP interface. To run Confluence behind the Apache httpd web server, there are two main configuration options: mod_jk or mod_proxy.
Mod_proxy documentation
Mod_jk documentation
Mod_jk2 not supportedThe misleadingly-named mod_jk2 is an older method of connecting to Tomcat from Apache. Since mod_jk2 is no longer supported by the Apache Foundation, we do not support this configuration, and are not updating our mod_jk2 documentation. Mod_jk2 also has unresolved problems with Unicode URLs; you need to use either mod_proxy or mod_jk for international characters to work correctly in Confluence. Other related documentation |
Labels
Except where otherwise noted, content in this space is licensed under a Creative Commons Attribution 2.5 Australia License.

Comments (1)
Feb 20, 2007
JimNicholson says:
We run Confluence under Tomcat 5.5.20, behind an Apache server configured for ht...We run Confluence under Tomcat 5.5.20, behind an Apache server configured for https-only connections. We use DNS-based virtual hosting, and use mod_proxy_ajp to connect confluence to Apache.
The apache configuration for the vhost looks like this we use looks like this:
<Location "/">
RewriteEngine on
RewriteBase /
RewriteRule ^confluence$ confluence/ [R]
</Location>
ProxyPass /confluence/ ajp://localhost:8009/confluence/
In our subjective tests, ajp is markedly faster than http, and mod_proxy_ajp is faster than mod_jk.
Add Comment