I have Dokuwiki installed and running and it runs pretty well except for serving images that have been uploaded through the Media Manager. Every one of them gets uploaded, appears to be on the filesystem correctly but shows up in all browsers as a broken image link. I've tried with nice URL's set to in all states, mod_rewrite on and off, it all fails. If I move the image out of the media directory and into the root of the site, I can statically hit it no problem. The apache logs show strangeness in how the image gets served:
Static file:
"GET /img_0188.jpg HTTP/1.1" 200 165083
Served through Dokuwiki:
"GET /_media/img_0188.jpg?t=1457657089&w=500&h=375&tok=ecc598 HTTP/1.1" 200 44568
That is a pretty big difference in served data back. And yet, both result in a HTTP 200. I've tried adding the do=debug but I don't get anything out for the request for the file. This is my local config:
$conf['title'] = 'InfraWiki';
$conf['license'] = 'cc-by-sa';
$conf['allowdebug'] = 1;
$conf['breadcrumbs'] = 0;
$conf['youarehere'] = 1;
$conf['disableactions'] = 'register';
$conf['htmlok'] = 1;
$conf['im_convert'] = '/usr/bin/convert';
$conf['userewrite'] = '1';
$conf['xsendfie'] = '0';
There aren't any errors in the httpd error.log file. I've double checked that SELinux isn't getting in the way by turning it off. Nothing fixes this. Something is buggered with DW's serving image files.
Any thoughts on what I might be missing?