Configure Apache 2.4.2 as proxy for confluence

Hello, 

I am wondering what if the correct configuration for Apache 2.4. I virtualhost file looks ok per Atlassian's documentation. However, when I type URL it can see Apache's welcome page (subdomain is CNAMEd), but forwarding to confluence is not happening. 

Thanks for your help in advance.  

3 answers

0 vote
Timothy Chin Community Champion Apr 11, 2015

Without your configs, no one can help you?

This is the config I am using:

<VirtualHost *:80>
        ServerName wiki.x.x.com
        ServerAdmin webmaster@localhost
        
        # Possible values include: debug, info, notice, warn, error, crit,
        # alert, emerg.
        LogLevel debug

        DocumentRoot /var/domains/wiki/htdocs
        <Directory />
                Options FollowSymLinks
                AllowOverride None
        </Directory>
        <Directory /var/domains/wiki/htdocs>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride None
                Order allow,deny
                allow from all
        </Directory>

    ProxyRequests Off
    ProxyPreserveHost On
    <Proxy *>
        Order deny,allow
        Allow from all
    </Proxy>
    ProxyPass /confluence http://192.168.100.11:8090/confluence
    ProxyPassReverse /confluence http://192.168.100.11:8090/confluence
    CustomLog /var/log/httpd/confluence.log combined
    ErrorLog /var/log/httpd/confluence_error.log
 
    <Location /confluence>
        Order allow,deny
        Allow from all
    </Location>
</VirtualHost>
Timothy Chin Community Champion Apr 15, 2015

What URL are you using to access Confluence?

if you enter the url http://wiki.x.x.com/confluence what do you see in /var/log/httpd/confluence.log or /var/log/httpd/confluence_error.log ?

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

2,932 views 27 12
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