mirror of
https://github.com/e107inc/e107.git
synced 2025-01-29 10:38:08 +01:00
Issue #4373 Have mod-rewrite ignore css, js, fonts etc.
This commit is contained in:
parent
4f4fee7fb2
commit
5197f97a42
@ -72,7 +72,8 @@
|
||||
ReWriteRule ^static\/[0-9]*\/(.*)$ $1 [NC,L]
|
||||
|
||||
### send 404 on missing files in these folders
|
||||
RewriteCond %{REQUEST_URI} !^/(e107_images|e107_files)/
|
||||
RewriteCond %{REQUEST_URI} !^/(e107_images|e107_files)/
|
||||
RewriteCond %{REQUEST_URI} !\.(css|js|swf|mp3|mp4|eot|otf|ttc|ttf|woff|woff2)$ [NC]
|
||||
|
||||
### don't rewrite for existing files, directories and links
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
|
Loading…
x
Reference in New Issue
Block a user