Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2016-01-06 15:34:40 +0300
committerMorris Jobke <hey@morrisjobke.de>2016-01-06 15:45:11 +0300
commit2f538666683ff4bb8bca081ce10ea0ce9209f41e (patch)
tree6c75ddd805ff8d329980fecc0736b33fcaa26119 /.htaccess
parent12b0e9e3bdd6de2d35165a52072d534c7c2f5fc2 (diff)
Allow ico files to be served statically
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess2
1 files changed, 1 insertions, 1 deletions
diff --git a/.htaccess b/.htaccess
index f656d6de444..740329e15a0 100644
--- 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