How to block a specific user agent in Apache
问题 I'm configuring my Django app to email me errors (exceptions). Normally no problem - but my email is hosted on Office 365, and it seems that Microsoft is automatically scanning and loading URLs within emails. The result is that it hits the URL in my Django app, and causes another error... and another email. End result: a charming little mail loop which sends me 50+ messages within a few seconds. I found entries like this in my apache logs: 157.55.39.163 - - [22/Aug/2018:17:30:05 +0000] "GET