summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-03-10 23:15:23 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2016-03-10 23:15:23 +0100
commit7587fe8ad5f61a24b9c7594c20fa08ac4a24e1c9 (patch)
tree2f0978b0ef6367d6eaf6c75463b7ff739fee143a
parent07a131311449860571dd73de362fa9f0246a350f (diff)
parent73a7c45dd413d2db360ac04fa99d7174de491f85 (diff)
downloadnextcloud-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--.htaccess2
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