[damned-lies/oscp] Add missing spider deny stanza



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]