diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2016-01-06 17:03:18 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2016-01-06 17:03:18 +0100 |
commit | 0d33dc11ca0cd1462c9bd6c95f44a04a80b589bf (patch) | |
tree | 7dbbd077b9fdd57152f854cefcaec894d6fac6d4 | |
parent | d878002ee6a329d429fefbc96a84075589fc1b1a (diff) | |
parent | 2f538666683ff4bb8bca081ce10ea0ce9209f41e (diff) | |
download | nextcloud-server-0d33dc11ca0cd1462c9bd6c95f44a04a80b589bf.tar.gz nextcloud-server-0d33dc11ca0cd1462c9bd6c95f44a04a80b589bf.zip |
Merge pull request #21482 from owncloud/htaccess-ico-rule
Allow ico files to be served statically
-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 |