diff options
author | Morris Jobke <hey@morrisjobke.de> | 2016-01-06 13:34:40 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2016-01-06 13:45:11 +0100 |
commit | 2f538666683ff4bb8bca081ce10ea0ce9209f41e (patch) | |
tree | 6c75ddd805ff8d329980fecc0736b33fcaa26119 /.htaccess | |
parent | 12b0e9e3bdd6de2d35165a52072d534c7c2f5fc2 (diff) | |
download | nextcloud-server-2f538666683ff4bb8bca081ce10ea0ce9209f41e.tar.gz nextcloud-server-2f538666683ff4bb8bca081ce10ea0ce9209f41e.zip |
Allow ico files to be served statically
Diffstat (limited to '.htaccess')
-rw-r--r-- | .htaccess | 2 |
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 |