Skip to content

Commit

Permalink
extending bot blocklist
Browse files Browse the repository at this point in the history
  • Loading branch information
ctot-nondef committed Feb 7, 2024
1 parent 1d98539 commit 968de6a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions local/config/vufind/httpd-vufind.conf
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,12 @@ AliasMatch ^/resources/cache/(.*)$ /usr/local/vufind/local/cache/public/$1
<ElseIf "%{HTTP_USER_AGENT} == 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36'">
Require all denied
</ElseIf>
<ElseIf "%{HTTP_USER_AGENT} =~ /dataforseo/">
Require all denied
</ElseIf>
<ElseIf "%{HTTP_USER_AGENT} =~ /181121/">
Require all denied
</ElseIf>
<Else>
Require all granted
</Else>
Expand Down

0 comments on commit 968de6a

Please sign in to comment.