| Current Path : /home/jeromecohp/www/aesecure/premium/setup/snippets/ |
| Current File : /home/jeromecohp/www/aesecure/premium/setup/snippets/84-optimize_minify.htaccess |
#aeSecure 8.4
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_URI} .*(/%AESECURE_SITEROOT%.*)$ [NC]
# Don't run the minifier for aeSecure itself. This to make sure that if there is a problem with f.i. javascript
# minification, the aeSecure's interface can still be accessible to disable the option 8.4
RewriteCond %{REQUEST_FILENAME} !/%AESECURE_SITEROOT%(administrator|aesecure)/.* [NC]
# Don't minify the aesecure.php installer
RewriteCond %{REQUEST_FILENAME} !/aesecure\.php(.*)? [NC]
RewriteCond %{REQUEST_FILENAME} !(bing|google|norton).*\.html? [NC]
RewriteCond %{REQUEST_FILENAME} \.(jpe?g|png|js|css|webp|html?|php)(\?.*)?$ [NC]
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule (.*) /%AESECURE_SITEROOT%aesecure/premium/minify/index.php?$1 [QSA]
</IfModule>