[paste-web/oscp] Block omgili bot
- From: Bartłomiej Piotrowski <bpiotrowski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [paste-web/oscp] Block omgili bot
- Date: Mon, 1 Jul 2019 11:37:03 +0000 (UTC)
commit cca0de356e2055d5167c9b094fb2a0b1ad0e1555
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date: Fri Jun 28 15:28:52 2019 +0200
Block omgili bot
paste.gnome.org.conf | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/paste.gnome.org.conf b/paste.gnome.org.conf
index 12b17b8..357abce 100644
--- a/paste.gnome.org.conf
+++ b/paste.gnome.org.conf
@@ -20,6 +20,10 @@
SSLCertificateKeyFile /var/serving-cert/tls.key
<Directory /var/www/html/paste.gnome.org/public>
+ RewriteEngine on
+ RewriteCond "%{HTTP_USER_AGENT}" "^omgili"
+ RewriteRule . - [F]
+
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]