Confluence with apache

3 answers

0 votes

You're going to need to give us a lot more detail on what you have done. The problem is that the documentation is correct, but for generalised cases. So either you've not followed it correctly, or you have something we don't know about that the guide does not cover (99.99% of cases where someone says "I've tried the docs" turn out to be that they have something that the doc can't cover because it's a specific case for them)

Chages done are

1)Server.xml

<Connector className="org.apache.coyote.tomcat4.CoyoteConnector" port="8090" minProcessors="5"
maxProcessors="75"
enableLookups="false" redirectPort="8443" acceptCount="10" debug="0" connectionTimeout="20000"
useURIValidationHack="false" URIEncoding="UTF-8"
proxyName="confluence.example.com" proxyPort="80"/>

<Context path="/confluence" docBase="../confluence" debug="0" reloadable="false" useHttpOnly="true">
<!-- Logger is deprecated in Tomcat 5.5. Logging configuration for Confluence is specified in confluence/WEB-INF/classes/log4j.properties -->
<Manager pathname="" />
</Context>

2)httpd-vhost.conf

NameVirtualHost *

<VirtualHost *>
ServerName confluence.example.com

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

ProxyPass / http://127.0.0.1:8090/confluence<br< a="">> ProxyPassReverse / http://127.0.0.1:8090/confluence<br< a="">> <Location />
Order allow,deny
Allow from all
</Location>
</VirtualHost>

3)httpd.conf

LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_ajp_module modules/mod_proxy_ajp.so

#LoadModule proxy_html_module modules/mod_proxy_html.so

LoadModule proxy_http_module modules/mod_proxy_http.so

------------------------------------3-Files-Changed----------------------------------------------------------

mod_proxy_html is commented is this can be a problem

Hi there,

What happens when you try to access Confluence?

Could you please try this Virtual Host and tell me how it goes?

<VirtualHost *:80>
    #Creating virtual host
    ServerAdmin admin@domain.com
    ServerName confluence.example.com
    ServerAlias confluence.example.com
    ProxyRequests Off
    ProxyPreserveHost On
    <Proxy *>
        Order deny,allow
        Allow from all
    </Proxy>
    ProxyPass / http://your_confluence_original_url:8080/
    ProxyPassReverse / http://your_confluence_original_url:8080/
    <Location />
        Order allow,deny
        Allow from all
    </Location>
    ErrorLog /path/to/example.com-error.log
    LogLevel debug
    CustomLog /path/to/example.com-access.log combined
</VirtualHost>
 
 
Regards,
Celso Yoshioka

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,146 views 20 14
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