It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Base url problem with mod_proxy

Jae Seong Gu Sep 04, 2012
I use virtual hosts for serving my Confluence.
First, httpd.conf is below:
<VirtualHost *:80>
   ServerName wiki.MYDOMAIN.com

   ProxyRequests Off
   <Proxy *>
      Order deny,allow
      Allow from all
   </Proxy>

   ProxyPass / http://localhost:8090/
   ProxyPassReverse / http://localhost:8090/
   <Location />
      Order allow,deny
      Allow from all
   </Location>
</VirtualHost>

And server.xml is below:

<Connector port="8090" redirectPort="8443" ... />
   <Engine name="Standalone" defaultHost="localhost" debug="0">
      <Host name="localhost" debug="0" appBase="webapps" unpackWARs="true" autoDeploy="false">
         <Context path="" docBase="../confluence" debug="0" reloadable="true" useHttpOnly="true">

Finally, confluence's base url is

http://wiki.MYDOMAIN.com

and my web browser's url is also that is.

In this situation, there is no warning message on 'Server Base Url' in General Configuration, but when I go to 'Plugins' section, then the server which running confluence loose connection for a while. But weired thing is when I approach using ip(http://ip:8090) and changed base url with that then there is no problem. works great.

What's wrong with me?

1 answer

Hi Jason,

You might need to configure the redirection properly with proxyName and proxyPort parameter implemented as mentioned here:

https://confluence.atlassian.com/display/DOC/Using+Apache+with+mod_proxy#UsingApachewithmod_proxy-SettheURLforredirection

Hope it helps.

Cheers,
Septa Cahyadiputra

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Confluence

Confluence CVEs and common questions

Two vulnerabilities have been published for Confluence Server and Data Center recently: March 20, 2019 CVE-2019-3395 / CVE-2019-3396 April 17, 2019 CVE-2019-3398 The goal of this article is...

942 views 0 19
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you