# crmv@272658 # disable access to composer files, to avoid library enumeration Order Allow,Deny Deny from all # crmv@301301 # disable the server signature for server generated pages # beware: this is not hiding the header "Server" ServerSignature Off # crmv@343310 Header set Content-Type "application/manifest+json" # crmv@343310e # Enable this if you want to use smartoptimizer (can be buggy with some files) # # # # ExpiresActive On # ExpiresDefault "access plus 10 years" # # # # RewriteEngine On # # RewriteCond %{REQUEST_FILENAME} !-f # RewriteCond %{REQUEST_FILENAME} !-d # RewriteRule ^(.*\.(js|css))$ smartoptimizer/?$1 # # # RewriteCond %{REQUEST_FILENAME} -f # RewriteRule ^(.*\.(js|css|html?|xml|txt))$ smartoptimizer/?$1 # # # # RewriteCond %{REQUEST_FILENAME} -f # RewriteRule ^(.*\.(gif|jpg|jpeg|png|swf|css|js|html?|xml|txt|ico))$ smartoptimizer/?$1 # # # # FileETag none #