Use Mod_rewrite to modify URLs for confluence 6

Source: Internet
Author: User

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:

    1. For the confluence server, add DNS for the entire http://wiki domain name as an externally visible IP address.
    2. Set the confluence server base URL to http://wiki.domain.com.
    3. Add Apache HTTP Proxy, use page Running confluence behind the guide in the Apache page.
    4. 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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.