summaryrefslogtreecommitdiffstats
path: root/.htaccess
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2015-12-07 17:15:04 +0100
committerLukas Reschke <lukas@owncloud.com>2015-12-07 17:15:04 +0100
commit37efc1d1e1110ea36289312d0cb067b130a3689e (patch)
tree9645d49984e0a77d6972c432bf0833551335e9db /.htaccess
parent939ba745ee56b51a010d9c1829db1dc0545ed57c (diff)
downloadnextcloud-server-37efc1d1e1110ea36289312d0cb067b130a3689e.tar.gz
nextcloud-server-37efc1d1e1110ea36289312d0cb067b130a3689e.zip
Allow .ico files
Makes `/core/img/favicon.ico` accessible again via web.
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess1
1 files changed, 1 insertions, 0 deletions
diff --git a/.htaccess b/.htaccess
index 7e8fd902294..230f6ae330f 100644
--- a/.htaccess
+++ b/.htaccess
@@ -56,6 +56,7 @@
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)$
+ RewriteCond %{REQUEST_FILENAME} !core/img/favicon.ico$
RewriteCond %{REQUEST_FILENAME} !/remote.php
RewriteCond %{REQUEST_FILENAME} !/public.php
RewriteCond %{REQUEST_FILENAME} !/cron.php