3 answers

0 vote

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
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
Sarah Goff-Dupont
Published 2 hours ago in Confluence

Think you know shares vs. @mentions in Confluence? Take this collab quiz.

To anyone who doubts that Atlassians are a little too obsessed with collaboration, and tools related thereto, let me describe a recent discussion we had (which took place on our internal Confluence, ...

37 views 2 3
Read article

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