So I recently moved Dokuwiki to another server and got it fully updated, but I found out the last IT guy had set up a proxy server for the Dokuwiki. It's still working, but the css doesn't work and from what I can tell either the proxy or the Dokuwiki server just stop using the same pathing.
The /secure/wiki part seems to work for some parts of dokuwiki but the .css for instance tries to load from the internal server.
I saw a similar issue here:
https://forum.dokuwiki.org/d/17920-dokuwiki-behind-reverse-proxy
and tried to apply some of the fixes from theres to mine but I think I'm missing something with this proxy server config and it's not clicking.
I got it to somewhat work by putting everything into secure/wiki/ but that broke the original server and I don't wanna force everything to go to wiki.oursite.com/secure/wiki.
Surely there is a way to fix this without moving the entire wiki into folders just to match what this proxy server is looking for right?
Here is the proxy config:
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass /secure/trl/ http://wiki.oursite.com/
ProxyHTMLURLMap http://wiki.oursite.com /secure/wiki
<Location /secure/wiki/>
ProxyPassReverse /
ProxyHTMLEnable On
ProxyHTMLURLMap / /secure/wiki/
RequestHeader unset Accept-Encoding
</Location>
Here is the Dokuwiki apaches config:
<VirtualHost *:80>
DocumentRoot /var/www/html/dokuwiki/
<Directory /var/www/html/dokuwiki/>
Options FollowSymLinks
AllowOverride All
Order allow,deny
allow from all
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
The Dokuwiki settings for the Dokuwiki.php are default at the moment.