Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Configure Apache 2.4.2 as proxy for confluence

Igor Platitsa April 10, 2015

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 votes
Igor Platitsa April 14, 2015

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
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 15, 2015

What URL are you using to access Confluence?

Alexander Penev [ByteSource]
Contributor
April 20, 2015

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 ?

0 votes
Timothy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 11, 2015

Without your configs, no one can help you?

0 votes
Alexander Penev [ByteSource]
Contributor
April 11, 2015

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events