Rich Text Editor and Trusted Applications Do Not Work Due to ProxyPreservehost in Apache
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Symptoms
When ProxyPreserveHost is set to OFF in Apache HTTPd's configuration, several issues can ensue:
Rich Text editor does not display - CONF-13942 (fixed in 2.10.1)
Some configurations with Trusted Applications may not work (if the server base URL differs).
Cause
ProxyPreserveHost is set to OFF in Apache's configuration.
Workaround
To work around the issue, in Tomcat's server.xml
, use:
1
<connector proxyName="hostname" proxyPort="80" />
This is described in Tomcat's documentation.
Resolution
Atlassian recommends using ProxyPreserveHost ON.
Was this helpful?