This seems to be a classic URL path problem:
proxy / 192.168.1.10/dokuwiki/
inside your local net, DokuWiki is accessible at ht
from outside, it is accessible at ht
ie, inside : /dokuwiki, outside : /
This difference in path leads to problems with all web applications, not only DW.
Here is why :
Dokuwiki has to choose an URL for CSS, and other things. Since it runs at
/dokuwiki, it chooses to generate /dokuwkiki/whatever. Unfortunately,
this only works inside your network, not from the outside. Because of the
reverse proxy, /dokuwiki/whatever ends up in /dokuwiki/dokuwiki/whatever
on the worker.
The most simple fix is to add this in DW conf/local.php config file :
This will tell DW that it is accessible at /, and it will generate correct URL
for style and images. You may have to clear your browser's cache.
But there is a drawback : styles and other files will no longer work with direct
access via ht
//192.168.1.10/dokuwiki because of the same URL
path problem, only in the other way.
All access have to go through the reverse proxy, even from the inside.
If you need both access, you shall not set $conf['basedir']
at all and
either install your DW at / on the worker, or play with various rewrite techniques
either on the reverse proxy or on the worker. For example you could try to
rewrite dokuwiki/dokuwiki to dokuwiki on the worker before the other rewriting
RewriteRule ^dokuwiki/dokuwiki($|/.*) dokuwiki$1