Errors found in integration of Atlassian Confluence and Apache

I followed this link during integration.

https://confluence.atlassian.com/doc/integrating-jira-and-confluence-2825.html

I am using Confluence 6.1.1 and Apache 2.4.25 (64 bit) on Windows 10. Here is what I have for Apache’s server.xml

    <Engine name="Standalone" defaultHost="localhost" debug="0">

        <Host name="localhost" debug="0" appBase="webapps" unpackWARs="true" autoDeploy="false" startStopThreads="4">
            <Context path="/confluence" docBase="../confluence" debug="0" reloadable="false" useHttpOnly="true">
                <Manager pathname="" />
                <Valve className="org.apache.catalina.valves.StuckThreadDetectionValve" threshold="60" />
            </Context>

            <Context path="/synchrony-proxy" docBase="../synchrony-proxy" debug="0" reloadable="false" useHttpOnly="true">
                <Valve className="org.apache.catalina.valves.StuckThreadDetectionValve" threshold="60" />
            </Context>
        </Host>

    </Engine>

</Service>

Here is Apache’s httpd-vhosts.conf

<VirtualHost *:9090>
    ServerName localhost
     
    ProxyRequests Off
    ProxyVia Off
     
    <Proxy *>
         Require all granted
    </Proxy>
    
    ProxyPass /synchrony http://localhost:8090/confluence/synchrony-proxy
    ProxyPassReverse /synchrony http://localhost:8090/confluence/synchrony-proxy
   
 
    ProxyPass /confluence http://localhost:8090/confluence
    ProxyPassReverse /confluence http://localhost:8090/confluence
    
		<Location />
			Require all granted
		</Location>    

</VirtualHost>

In Confluence, I also changed the Server Base URL to

http://localhost:8090/confluence

I am able to start Confluence at

http://localhost:9090/confluence

Everything seems working. However, when I clicked Create to create a page, the Create popup seems running endlessly as shown in this picture.

I used Chrome’s Inspect to see what was going wrong, and I did see some errors. Please see below.

:9090/confluence/rest/webResources/1.0/resources Failed to load resource: the server responded with a status of 403 (Forbidden)
:9090/confluence/rest/analytics/1.0/publish/bulk Failed to load resource: the server responded with a status of 403 (Forbidden)

How can I fix the errors?

Thanks!

The proxyPort in tomcat should match the port that apache is listening on (port 9090 in this case). Make sure that the base url in the confluence instance is also updated.

You might also want to check community.atlassian.com to see if the non-developer community has any ideas.

Daniel, thanks for the info!!!