.htaccess (mashup) A developer published an .htaccess configuration snippet combining GZIP compression rules with a user-agent blocklist, labeled "Ultimate AI Block List v1.8," that uses mod_rewrite conditions to deny requests from AI crawlers, agents, and training bots. The blocklist matches hundreds of user-agent strings, including GPT, Claude, Anthropic, CCBot, Google-Extended, Perplexity-style research agents, and various RAG and scraping tools. | | 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 | | | Ultimate AI Block List v1.8 20260105 | | | https://perishablepress.com/ultimate-ai-block-list/ | | |