Skip to content

Commit

Permalink
correcting block condition
Browse files Browse the repository at this point in the history
  • Loading branch information
ctot-nondef committed Oct 9, 2023
1 parent e43b1b1 commit 849130f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions local/config/vufind/httpd-vufind.conf
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ AliasMatch ^/resources/cache/(.*)$ /usr/local/vufind/local/cache/public/$1
<ElseIf "%{HTTP_USER_AGENT} =~ /bingbot/">
Require all denied
</ElseIf>
<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 "%{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>
<Else>
Require all granted
Expand Down Expand Up @@ -81,8 +81,8 @@ Alias /resources /usr/local/vufind/public
Require all denied
</ElseIf>
# this specific user agent accounts for another 20% of our requests
<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 "%{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>
<Else>
Require all granted
Expand Down

0 comments on commit 849130f

Please sign in to comment.