Further restrict access to cgi-bin on http://popcon.d.o
authorJulien Cristau <jcristau@debian.org>
Sun, 29 Oct 2017 17:55:58 +0000 (18:55 +0100)
committerJulien Cristau <jcristau@debian.org>
Sun, 29 Oct 2017 17:59:40 +0000 (18:59 +0100)
modules/roles/files/popcon/popcon.debian.org.conf

index 41fc1ef..8c05084 100644 (file)
@@ -8,7 +8,9 @@
 
        ScriptAlias /cgi-bin /srv/popcon.debian.org/cgi-bin/
        <Directory /srv/popcon.debian.org/cgi-bin>
-               Require all granted
+               <Files "popcon.cgi">
+                       Require all granted
+               </Files>
        </Directory>
 
        RewriteEngine on