{
 "slug": "apache-htaccess",
 "title": "Apache: .htaccess block",
 "language": "apache",
 "suggested_filename": ".htaccess",
 "description": "BrowserMatchNoCase plus a Require expression. Works on shared hosting where you cannot edit the main config.",
 "url": "https://www.pathwren.workers.dev/snippet/apache-htaccess.txt",
 "body": "# AI Crawler Index — Apache 2.4 (.htaccess)\n# curl -s https://www.pathwren.workers.dev/snippet/apache-htaccess.txt\n<IfModule mod_setenvif.c>\n    BrowserMatchNoCase \"Bytespider\" block_bot\n    BrowserMatchNoCase \"ISSCyberRiskCrawler\" block_bot\n    BrowserMatchNoCase \"Linguee\\ Bot\" block_bot\n    BrowserMatchNoCase \"Thinkbot\" block_bot\n    BrowserMatchNoCase \"TikTokSpider\" block_bot\n</IfModule>\n<RequireAll>\n    Require all granted\n    Require not env block_bot\n</RequireAll>\n"
}