diff --git a/apache.conf.txt b/apache.conf.txt new file mode 100644 index 0000000..ee8cb3b --- /dev/null +++ b/apache.conf.txt @@ -0,0 +1,4 @@ +# for apache2.conf or .htaccess; intended to block via user agent string +RewriteEngine On +RewriteCond %{HTTP_USER_AGENT (AdsBot-Google|Amazonbot|anthropic-ai|Applebot|AwarioRssBot|AwarioSmartBot|Bytespider|CCBot|ChatGPT-User|ClaudeBot|Claude-Web|cohere-ai|DataForSeoBot|FacebookBot|Google-Extended|GoogleOther|GPTBot|ImagesiftBot|magpie-crawler|Meltwater|omgili|omgilibot|peer39_crawler|peer39_crawler/1.0|PerplexityBot|PiplBot|Seekr|YouBot) [NC] +RewriteRule .* - [F,L]