We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5cdd7a commit 22e9dc8Copy full SHA for 22e9dc8
server/fedora/config/etc/httpd/conf/httpd.conf
@@ -110,6 +110,13 @@ UserDir disabled
110
<Directory />
111
AllowOverride None
112
Options FollowSymLinks IncludesNoExec
113
+
114
+ # Block some (self-identifying) bots, by giving them a 403.
115
+ # The proxy servers should catch these (/etc/haproxy/blacklist-agent.txt),
116
+ # but it can only look at HTTP traffic. This was added primarily for HTTPS
117
+ # traffic.
118
+ Require expr %{HTTP_USER_AGENT} !~ /Bytespider|Bytedance|ClaudeBot/
119
120
# The new syntax wasn't added until 2.4,
121
# so there's simply no way any deployed sites
122
# are already using the new syntax.
0 commit comments