Skip to content
Snippets Groups Projects
Commit 207e773c authored by Patrick Barroca's avatar Patrick Barroca
Browse files

allow .tgz files in rewrite rules

parent bbc52a60
Branches
Tags
2 merge requests!1797Master,!1778Master
......@@ -3,7 +3,7 @@ RewriteEngine on
RewriteCond %{REQUEST_URI} !/(xhprof_html|ckeditor|exploit|\.well-known)
RewriteCond %{REQUEST_FILENAME} !^.*/robots\.txt$ [NC]
RewriteRule !(userfiles|public|tmp|temp|skins)/.*\.(js|ico|txt|gif|jpg|jpeg|png|css|xml|swf|mov|pdf|doc|docx|woff|eot|svg|ttf|xls|wsdl|mp3|m4v|ogg|ogv|epub|html|xhtml|asmx|zip|sql|bro|flv|mp4|webm)$ index.php [NC,NE]
RewriteRule !(userfiles|public|tmp|temp|skins)/.*\.(js|ico|txt|gif|jpg|jpeg|png|css|xml|swf|mov|pdf|doc|docx|woff|eot|svg|ttf|xls|wsdl|mp3|m4v|ogg|ogv|epub|html|xhtml|asmx|zip|sql|bro|flv|mp4|webm|tgz)$ index.php [NC,NE]
AddType application/x-javascript .js
AddType text/css .css
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment