[wgo-web] Try to prevent ddosing against these specific file locations



commit 212c857a823c05a7a72c40b780e25992b7271975
Author: Andrea Veri <averi redhat com>
Date:   Thu Nov 14 14:51:22 2019 +0100

    Try to prevent ddosing against these specific file locations

 00_www.gnome.org.conf | 8 ++++++++
 1 file changed, 8 insertions(+)
---
diff --git a/00_www.gnome.org.conf b/00_www.gnome.org.conf
index 2aa585a..3c070cf 100644
--- a/00_www.gnome.org.conf
+++ b/00_www.gnome.org.conf
@@ -99,6 +99,14 @@
  
         Deny from env=BannedCountry
     </LocationMatch>
+
+    <LocationMatch "^.*install.php">
+      Require all denied
+    </LocationMatch>
+
+    <LocationMatch "^.*(sssp|uploadify).*">
+      Require all denied
+    </LocationMatch>
 </VirtualHost>
 
 <Directory /srv/http/www.gnome.org/html>


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