diff options
author | kaldari <rkaldari@wikimedia.org> | 2014-12-01 13:42:54 -0800 |
---|---|---|
committer | Ori.livneh <ori@wikimedia.org> | 2014-12-05 22:50:36 +0000 |
commit | b981cf925c9e441bc00360b5d6bbe569e01cddc0 (patch) | |
tree | d8a9658253256831209392ac7fa284b41205d135 /images/.htaccess | |
parent | 93cc595bed5b364844875b68b7fa1a507eace16f (diff) | |
download | mediawikicore-b981cf925c9e441bc00360b5d6bbe569e01cddc0.tar.gz mediawikicore-b981cf925c9e441bc00360b5d6bbe569e01cddc0.zip |
Add FollowSymLinks option to /images .htaccess rule
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
Diffstat (limited to 'images/.htaccess')
-rw-r--r-- | images/.htaccess | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/images/.htaccess b/images/.htaccess index 1cc74f42b08e..8c46bbb4e8c7 100644 --- a/images/.htaccess +++ b/images/.htaccess @@ -3,4 +3,6 @@ RewriteEngine On RewriteCond %{QUERY_STRING} \.[^\\/:*?\x22<>|%]+(#|\?|$) [nocase] RewriteRule . - [forbidden] + # Fix for bug T64289 + Options +FollowSymLinks </IfModule> |