Last modified: 2013-10-23 18:17:47 UTC
Created attachment 9925 [details] Make img_auth.php working with with Short-URLs and img_auth.php enabled Since Version 1.18 it was not longer possible to download Images when using Short URLs (Apache configuration "Alias /wiki/images /srv/www/vhosts/DOMAIN/mediawiki/webroot/img_auth.php"). Today I have debugged this issue, and found, that the $path variable in img_auth.php isn't set correctly, as the path is always prefixed with "images/" ( or "img_auth.php/ when calling it without the apache Alias directive)", and therefore the real path can not be found. I have prepeared a patch which fixes this problem for me, stripping of the filename when necessary. I currently do not have a MW base-installation available here, so I don't know if the patch has any negative influence on mor simple configurations...
That patch will utterly break img_auth in other configurations. In any case we already fixed this bug in 1.19 last time I checked. *** This bug has been marked as a duplicate of bug 32486 ***
Created attachment 9931 [details] Backported r104150 Thank you for the quick response. I have backported the mentioned solution to have a working 1.18 wiki...