Skip to content

Commit

Permalink
block spider for apache
Browse files Browse the repository at this point in the history
  • Loading branch information
Stef-Verniers committed Apr 17, 2024
1 parent 1ba9a28 commit 643dae6
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions best_practices/webserver/apache.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,15 @@ Require env AllowIP
===


==- <span style="color:#5283ff; font-size:24px;">**Hier komt dan een tweede voorbeeld**</span>

Dit is een tweede eenvoudig voorbeeld voor preview purposes

##### Een extra titel kan er ook wel bij
==- <span style="color:#5283ff; font-size:24px;">**Block infamous bytespider bot**</span>

Sometimes a server can go high in load due to the infamous bytespider bot. This one can be excluded by implementing this piece of code:

```
<h1>Hello world</h1>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} Bytespider [NC]
RewriteRule .* - [F]
</IfModule>
```
===

0 comments on commit 643dae6

Please sign in to comment.