From 609de2af12a540c4d8cc6806b3911398aa58705b Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Mon, 8 Apr 2024 12:26:04 -0700 Subject: [PATCH] chore: create apache.conf.txt --- apache.conf.txt | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 apache.conf.txt 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]