Skip to content

Commit

Permalink
blocking anthropic bot
Browse files Browse the repository at this point in the history
  • Loading branch information
ctot-nondef committed Sep 19, 2024
1 parent 04d3183 commit b3b98e6
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion local/config/vufind/httpd-vufind.conf
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,12 @@ AliasMatch ^/resources/cache/(.*)$ /usr/local/vufind/local/cache/public/$1
<ElseIf "%{HTTP_USER_AGENT} =~ /imagesift/">
Require all denied
</ElseIf>
<ElseIf "%{HTTP_USER_AGENT} =~ /claudebot/">
Require all denied
</ElseIf>
<ElseIf "%{HTTP_USER_AGENT} =~ /facebook/">
Require all denied
</ElseIf>
<Else>
Require all granted
</Else>
Expand Down Expand Up @@ -136,7 +142,10 @@ Alias /resources /usr/local/vufind/public
<ElseIf "%{HTTP_USER_AGENT} =~ /imagesift/">
Require all denied
</ElseIf>
<ElseIf "%{HTTP_USER_AGENT} =~ /imagesift/">
<ElseIf "%{HTTP_USER_AGENT} =~ /claudebot/">
Require all denied
</ElseIf>
<ElseIf "%{HTTP_USER_AGENT} =~ /facebook/">
Require all denied
</ElseIf>
<Else>
Expand Down

0 comments on commit b3b98e6

Please sign in to comment.