Skip to content
Snippets Groups Projects
Commit 0245dbd5 authored by Ghislain Loas's avatar Ghislain Loas
Browse files

hotline #78528 add htm to authorized extensions in htaccess

parent 1a768b5d
Branches
Tags
4 merge requests!2806Master,!2789Master,!2785Hotline,!2782hotline #78528 add htm to authorized extensions in htaccess
Pipeline #4771 passed with stage
in 50 minutes and 16 seconds
......@@ -3,7 +3,7 @@ RewriteEngine on
RewriteCond %{REQUEST_URI} !^/(google[a-z0-9]+\.html|.*/xhprof_html|ckeditor|exploit|\.well-known)
RewriteCond %{REQUEST_FILENAME} !^.*/robots\.txt$ [NC]
RewriteRule !(userfiles|public|tmp|temp|skins|library/templates|library/digital_resources/.*/js)/.*\.(js|ico|txt|gif|jpg|jpeg|png|css|xml|swf|mov|pdf|doc|docx|woff|woff2|eot|svg|ttf|xls|wsdl|mp3|m4v|ogg|ogv|epub|html|xhtml|asmx|zip|sql|bro|flv|mp4|webm|tgz|json|geojson|xsl)$ index.php [NC,NE]
RewriteRule !(userfiles|public|tmp|temp|skins|library/templates|library/digital_resources/.*/js)/.*\.(js|ico|txt|gif|jpg|jpeg|png|css|xml|swf|mov|pdf|doc|docx|woff|woff2|eot|svg|ttf|xls|wsdl|mp3|m4v|ogg|ogv|epub|htm|html|xhtml|asmx|zip|sql|bro|flv|mp4|webm|tgz|json|geojson|xsl)$ index.php [NC,NE]
AddType application/x-javascript .js
AddType text/css .css
......
- ticket #78528 : Hébergement : autorisation de l'extension HTM via le fichier htaccess.
\ No newline at end of file
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