Following instructions for replacing the default site logo, I uploaded a new logo.png into wiki:
This displays just fine if user is logged on. My ACL is set so that @all cannot see anything (i.e. guests,) and as expected a guest gets shown the logon page. However the logo is shown as a broken link.
* @ALL
None Read Edit Create Upload Delete
Chrome console shows 403 - forbidden for the image link.
GET https://wiki.internal.ft.com/lib/exe/fetch.php?media=wiki:logo.png 403 (Forbidden)
I'm using Nginx and have set it up as per install instructions. Here's the location details
location = /favicon.ico {
access_log off;
log_not_found off;
}
location / {
index doku.php
try_files $uri $uri/ @dokuwiki;
}
location @dokuwiki {
rewrite ^/_media/(.*) /lib/exe/fetch.php?media=$1 last;
rewrite ^/_detail/(.*) /lib/exe/detail.php?media=$1 last;
rewrite ^/_export/([^/]+)/(.*) /doku.php?do=export_$1&id=$2 last;
rewrite ^/(.*) /doku.php?id=$1&$args last;
}
location ~ \.php$ {
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_pass unix:/var/run/php-fpm/php-fpm.sock;
}
I suspect some sort of ACL issue but being a bit new to DokuWiki, not sure.
Any help appreciated.