[blogs-web/oscp] Try to prevent ddosing against these specific file locations



commit 89acded5acf2e27619e42c1906ec37d5c07f7d77
Author: Andrea Veri <averi redhat com>
Date:   Thu Nov 14 14:49:42 2019 +0100

    Try to prevent ddosing against these specific file locations

 blogs.gnome.org.conf | 8 ++++++++
 1 file changed, 8 insertions(+)
---
diff --git a/blogs.gnome.org.conf b/blogs.gnome.org.conf
index 9bf51c9..a17ef4a 100644
--- a/blogs.gnome.org.conf
+++ b/blogs.gnome.org.conf
@@ -21,6 +21,14 @@
     Redirect permanent  /lucasr http://lucasr.org/
     Redirect permanent  /woody  https://www.dragonsreach.it/
     Redirect permanent  /gtk    https://blog.gtk.org/
+
+    <LocationMatch "^.*install.php">
+      Require all denied
+    </LocationMatch>
+
+    <LocationMatch "^.*(sssp|uploadify).*">
+      Require all denied
+    </LocationMatch>
 </VirtualHost>
 
 <Directory /srv/http/blogs.gnome.org/html>


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