diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2016-03-10 23:15:23 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2016-03-10 23:15:23 +0100 |
commit | 7587fe8ad5f61a24b9c7594c20fa08ac4a24e1c9 (patch) | |
tree | 2f0978b0ef6367d6eaf6c75463b7ff739fee143a | |
parent | 07a131311449860571dd73de362fa9f0246a350f (diff) | |
parent | 73a7c45dd413d2db360ac04fa99d7174de491f85 (diff) | |
download | nextcloud-server-7587fe8ad5f61a24b9c7594c20fa08ac4a24e1c9.tar.gz nextcloud-server-7587fe8ad5f61a24b9c7594c20fa08ac4a24e1c9.zip |
Merge pull request #23129 from SteKoe/add-jpg-to-htaccess
Allow jpg files to be statically served
-rw-r--r-- | .htaccess | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.htaccess b/.htaccess index 085467e91ca..cddbd4f47de 100644 --- a/.htaccess +++ b/.htaccess @@ -53,7 +53,7 @@ Options -MultiViews RewriteRule ^core/js/oc.js$ index.php/core/js/oc.js [PT,E=PATH_INFO:$1] RewriteRule ^core/preview.png$ index.php/core/preview.png [PT,E=PATH_INFO:$1] - RewriteCond %{REQUEST_FILENAME} !\.(css|js|svg|gif|png|html|ttf|woff|ico)$ + RewriteCond %{REQUEST_FILENAME} !\.(css|js|svg|gif|png|html|ttf|woff|ico|jpg|jpeg)$ RewriteCond %{REQUEST_FILENAME} !core/img/favicon.ico$ RewriteCond %{REQUEST_FILENAME} !/remote.php RewriteCond %{REQUEST_FILENAME} !/public.php |