]> git.pld-linux.org Git - packages/eventum.git/blobdiff - eventum-lighttpd.conf
skip bogus deps
[packages/eventum.git] / eventum-lighttpd.conf
index 64bb97471ee6324b1d19f6b89faa1de76b377b6d..d8309e2abc6cf2ec6abea581d80aaa7d68b531dd 100644 (file)
@@ -43,12 +43,19 @@ $HTTP["url"] =~ "^/eventum/" {
 #              )
 #      }
 
-       # SCM integration. Set here IP of host running CVS
+       # SCM integration. Set here IP of host running your VCS
        $HTTP["remoteip"] != "127.0.0.1" {
                $HTTP["url"] =~ "/scm_ping\.php$" {
                        url.access-deny = ( "" )
                }
        }
+
+       # IP Restrict XMLRPC
+       $HTTP["url"] =~ "/rpc/xmlrpc.php" {
+               $HTTP["remoteip"] !~ "127.0.0.1" {
+                       url.access-deny = ( "" )
+               }
+       }
 }
 
 # vim:ts=4
This page took 0.031069 seconds and 4 git commands to generate.