[damned-lies/oscp] Add missing spider deny stanza
- From: Andrea Veri <averi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [damned-lies/oscp] Add missing spider deny stanza
- Date: Wed, 11 Sep 2019 16:41:20 +0000 (UTC)
commit 64e46506ec3626225d3fcd95bb70d1a6ee90a81b
Author: Andrea Veri <averi redhat com>
Date: Wed Sep 11 18:36:04 2019 +0200
Add missing spider deny stanza
httpd.conf | 6 ++++++
1 file changed, 6 insertions(+)
---
diff --git a/httpd.conf b/httpd.conf
index f9533e9f..c4e3a159 100644
--- a/httpd.conf
+++ b/httpd.conf
@@ -19,3 +19,9 @@
AddType text/plain .po
AddType text/plain .pot
</VirtualHost>
+
+<LocationMatch "^/vertimus">
+ <If "%{HTTP_USER_AGENT} =~ /Sogou web spider/">
+ Require all denied
+ </If>
+</LocationMatch>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]