Merge pull request #21482 from owncloud/htaccess-ico-rule
Allow ico files to be served statically
This commit is contained in:
commit
0d33dc11ca
|
@ -51,7 +51,7 @@
|
||||||
Options -MultiViews
|
Options -MultiViews
|
||||||
RewriteRule ^core/js/oc.js$ index.php/core/js/oc.js [PT,E=PATH_INFO:$1]
|
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]
|
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} !core/img/favicon.ico$
|
||||||
RewriteCond %{REQUEST_FILENAME} !/remote.php
|
RewriteCond %{REQUEST_FILENAME} !/remote.php
|
||||||
RewriteCond %{REQUEST_FILENAME} !/public.php
|
RewriteCond %{REQUEST_FILENAME} !/public.php
|
||||||
|
|
Loading…
Reference in New Issue