]> source.dussan.org Git - nextcloud-server.git/commitdiff
Allow ico files to be served statically
authorMorris Jobke <hey@morrisjobke.de>
Wed, 6 Jan 2016 12:34:40 +0000 (13:34 +0100)
committerMorris Jobke <hey@morrisjobke.de>
Wed, 6 Jan 2016 12:45:11 +0000 (13:45 +0100)
.htaccess

index f656d6de4445dc4cb48f2e48fa298672d24f5735..740329e15a0811c67fec955801065c383fad2c29 100644 (file)
--- a/.htaccess
+++ b/.htaccess
@@ -51,7 +51,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)$
+  RewriteCond %{REQUEST_FILENAME} !\.(css|js|svg|gif|png|html|ttf|woff|ico)$
   RewriteCond %{REQUEST_FILENAME} !core/img/favicon.ico$
   RewriteCond %{REQUEST_FILENAME} !/remote.php
   RewriteCond %{REQUEST_FILENAME} !/public.php