Browse files

Update .htaccess (#95)

Disable rewrite for more typical file types in case the file doesn't exist.
  • Loading branch information...
Gappa authored and dg committed Nov 6, 2018
1 parent fd8c8ca commit 4c8689fca9e5d1455696d2854880b088435d86a8
Showing with 1 addition and 1 deletion.
  1. +1 −1 www/.htaccess
@@ -21,7 +21,7 @@ Allow from all
# front controller
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule !\.(pdf|js|ico|gif|jpg|png|svg|css|rar|zip|tar\.gz|map)$ index.php [L]
RewriteRule !\.(pdf|js|ico|gif|jpg|jpeg|png|webp|svg|css|rar|zip|7z|tar\.gz|map|eot|ttf|otf|woff|woff2)$ index.php [L]

# enable gzip compression

0 comments on commit 4c8689f

Please sign in to comment.