alvarpoon/aeg/master/.htaccess - Htaccess File

alvarpoon/aeg/master/.htaccess

# BEGIN s2Member GZIP exclusions
<IfModule rewrite_module>
  RewriteEngine On
  RewriteBase /
  RewriteCond %{QUERY_STRING} (^|?|&)s2member_file_download=.+ [OR]
  RewriteCond %{QUERY_STRING} (^|?|&)no-gzip=1
  RewriteRule .* - [E=no-gzip:1]
</IfModule>
# END s2Member GZIP exclusions

# BEGIN W3TC Browser Cache
<IfModule mod_deflate.c>
    <IfModule mod_headers.c>
        Header append Vary User-Agent env=!dont-vary
    </IfModule>
    <IfModule mod_filter.c>
        AddOutputFilterByType DEFLATE text/css text/x-component application/x-javascript application/javascript text/javascript text/x-js text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/x-icon application/json
    <IfModule mod_mime.c>
        # DEFLATE by extension
        AddOutputFilter DEFLATE js css htm html xml
    </IfModule>
    </IfModule>
</IfModule>
# END W3TC Browser Cache
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

On Github License

Files

Download PDF of Htaccess file
DEFLATE, no-gzip, QUERY_STRING, REQUEST_FILENAME

Comments

Apache