Setting up Apache and Confluence

Please can you explain how i set up confluence so that i can redirect users automatically to avoid them having to use the port number at the end of the url, i.e

The end user submits the following url, www.demo.site.com/confluence and it redirects to www.demo.site.com:8090/confluence.

I am getting lost on the configuration.

3 answers

You can follow the documentation running confluence behind apache

You will need to set the apache internal proxy and then create a configuration file that handles the redirection for requests.

<Proxy *>
Order deny,allow
Allow from all
</Proxy>
 
ProxyRequests       Off
ProxyPreserveHost On
ProxyPass           /confluence       http://localhost:8088/confluence
ProxyPassReverse    /confluence       http://localhost:8088/confluence

So if your website is www.demo.site.com then you should access it using www.demo.site.com/confluence. Please make sure you have the same configuration on the Confluence Administration page other wise you could encounter link issues.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Friday in Off-topic

Friday Fun: Dry T-Shirt Competition - What's your BEST (Atlassian) T-Shirt!?

[Note: So it was my turn for Friday Fun and sadly I was sick thanks to rubbish sinus infection... so apologies to most of Europe and Asia for the delayed post. However, I finally got out of bed for t...

190 views 12 4
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you