* I have my dokuwiki install on an intranet server (lets call it server1), it works like a charm; people working "at the site" may access it without any problems using links like http://sever1/dokuwki
* there is a need of exposing the wiki people outside our office, so port forwarding has been done form out routing server and dokuwiki is available from the internet as: http://126.96.36.199:3123/dokuwiki
(ip and port number are an example :D)
* wiki works from both addresses outside ip one and internal one
* PROBLEM occurs when trying to use media manager using outside world address (http://3188.8.131.52:123/dokuwiki/lib/exe/mediamanager.php); instead of nice media manager I get a screen with "You are not allowed to view this page"
* if internal addressing is used like (http://server1/dokuwiki/lib/exe/mediamanager.php) it works
* I can't save my configuration, it gives an error: "Permission Denied Sorry, you don't have enough rights to continue. Perhaps you forgot to login?", logging again doesn't help, using internal adressing *http://server1/....." does solve the issue (as in media upload)
I checked mediamanager.php and it seems that auth_quickaclcheck("$NS:*") returns 0 when logging using public ip address, but while I'm logged in using internal server address (http://server1/...) it returns 255 (which is correct)
It works in a weird way - on one hand I'm able to login, but on the other it doesn't respect any ACL config when using public ip address (the redirected one). I can vie pages and edit them but I can't upload neither change my configuration - using exaclty the same user in both cases.
perhaps using "port" after ipaddress is a problem ?