Note: The document for this page is the Apache configuration, not the confluence own configuration. Atlassian will support the configuration of confluence, but we cannot guarantee that you can support all of the problems you encounter when configuring Apache. Please note that the information provided below this page is for your reference only and does not guarantee that all configurations will work properly. If you configure it according to the content on this page, all risks are at your own risk.
Some features of confluence need to provide URL rewriting if confluence can access from multiple different domain names. If confluence is configured as multiple domain names without using URL rewriting , you will likely encounter a series of problems. Please refer to Various issues caused when the Server Base URL Does not Match the URL of the used to Access confluence page content.
An example of why you would want to access confluence from multiple domains:
- From the internal network:
Http://wiki
- Externally visible Networks:
Http://wiki.domain.com
Use overrides to let confluence support multi-domain access
To enable confluence to access from multiple domains:
- For the confluence server, add DNS for the entire http://wiki domain name as an externally visible IP address.
- Set the confluence server base URL to http://wiki.domain.com.
- Add Apache HTTP Proxy, use page Running confluence behind the guide in the Apache page.
- Use the Mod_rewrite module to modify the URL.
More information
You may need to insert Urlrewritefilter into your Java Web filter. This is similar to how Apache mod_rewrite works.
Https://www.cwiki.us/display/CONF6ZH/Using+mod_rewrite+to+Modify+Confluence+URLs
Use Mod_rewrite to modify URLs for confluence 6