[damned-lies/oscp] Add missing Directory/DirectoryMatch allow rules



commit 0401a247187b711f07db494a326cac4044992c1e
Author: Andrea Veri <averi redhat com>
Date:   Wed Sep 11 18:41:21 2019 +0200

    Add missing Directory/DirectoryMatch allow rules

 httpd.conf | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
---
diff --git a/httpd.conf b/httpd.conf
index c4e3a159..79bfefa2 100644
--- a/httpd.conf
+++ b/httpd.conf
@@ -20,6 +20,24 @@
     AddType text/plain .pot
 </VirtualHost>
 
+<Directory "/l10n/damnedlies/static">
+    Options Indexes
+    Require all granted
+</Directory> 
+
+<DirectoryMatch "^/var/www/djamnedlies/data/scratchdir/(POT|HTML)">
+    Options Indexes
+    <RequireAll>
+      Require all granted
+      Require not ip 95.108.249.30
+      Require not ip 218.30.103.149
+      Require not ip 65.55.24.217
+      Require not ip 180.76.5.0/24
+      Require not ip 218.30.103.0/24
+      Require not ip 1.202.219.0/24
+    </RequireAll>
+</DirectoryMatch>
+
 <LocationMatch "^/vertimus">
   <If "%{HTTP_USER_AGENT} =~ /Sogou web spider/">
     Require all denied


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]