I removed the last / at "localhost:8090/wiki/"; and now its working. Thanks for your help
Confluence is not showing styles when running behind apache
-
19-07-2023 - |
Question
I'm running a jira and a confluence behind an apache proxy.
My problem is, that confluence has no css stylesheets.
He tries to load from http://foo.bar/wiki/foo.css which results in a 404. If I change foo.bar to the correct Ip address and port (192.168.1.150:8090), it works like a charm.
my proxy conf (I'm not familiar with mod_proxy)
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyRequests Off
ProxyPreserveHost On
ProxyPass /jenkins http://localhost:8081/jenkins/
ProxyPassReverse /jenkins http://localhost:8081/jenkins/
ProxyPass /wiki http://localhost:8090/wiki/
ProxyPassReverse /wiki http://localhost:8090/wiki/
ProxyPass / http://localhost:8080/
ProxyPassReverse / http://localhost:8080/
<Location /wiki>
Order deny,allow
Allow from all
</Location>
The entries for jira and jenkins are working like a charm:
http://foo.bar --> Jira
http://foo.bar/jenkins --> jenkins
http://foo.bar/wiki --> Confluence with no styles and images
Pls help :'(
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow