.htaccess (mashup) - updated A developer published an updated .htaccess mashup that combines GZIP compression rules with version 1.8 of the Ultimate AI Block List, using Apache mod_rewrite conditions to deny requests from AI crawlers, agents and training bots based on their user-agent strings. The configuration also whitelists error documents to avoid bot-filter recursion and exempts image requests from compression. | | Options -Indexes | | | | | | GZIP COMPRESSION | | | | | | SetOutputFilter DEFLATE | | | AddOutputFilterByType DEFLATE text/html text/css text/plain text/xml application/x-javascript application/x-httpd-php | | | BrowserMatch ^Mozilla/4 gzip-only-text/html | | | BrowserMatch ^Mozilla/4\.0 678 no-gzip | | | BrowserMatch \bMSIE no-gzip gzip-only-text/html | | | BrowserMatch \bMSI E no-gzip gzip-only-text/html | | | SetEnvIfNoCase Request URI \. ?:gif\|jpe?g\|png $ no-gzip | | |