Add FollowSymLinks option to /images .htaccess rule
authorkaldari <rkaldari@wikimedia.org>
Mon, 1 Dec 2014 21:42:54 +0000 (13:42 -0800)
committerOri.livneh <ori@wikimedia.org>
Fri, 5 Dec 2014 22:50:36 +0000 (22:50 +0000)
This makes sure that thumbnails load properly. Apparently
(in OSX at least), if you don't have FollowSymLinks or
SymLinksIfOwnerMatch on, loading thumbnails gives a 500
error with the existing rewrite rules in place.

Bug: 62289
Change-Id: Icc812fcf9a0b821d2ad84359e5c1d8fb8e9c78a0

images/.htaccess

index 1cc74f4..8c46bbb 100644 (file)
@@ -3,4 +3,6 @@
        RewriteEngine On
        RewriteCond %{QUERY_STRING} \.[^\\/:*?\x22<>|%]+(#|\?|$) [nocase]
        RewriteRule . - [forbidden]
+       # Fix for bug T64289
+       Options +FollowSymLinks
 </IfModule>