chore: create apache.conf.txt

This commit is contained in:
Cory Dransfeldt 2024-04-08 12:26:04 -07:00 committed by GitHub
parent 47fc45f2f9
commit 609de2af12
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

4
apache.conf.txt Normal file
View file

@ -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]