]> jspc29.x-matter.uni-frankfurt.de Git - coral.git/commitdiff
added user authentication to httpi
authorMichael Wiebusch <m.wiebusch@gsi.de>
Tue, 11 Aug 2015 14:10:52 +0000 (16:10 +0200)
committerMichael Wiebusch <m.wiebusch@gsi.de>
Tue, 11 Aug 2015 14:10:52 +0000 (16:10 +0200)
user_interface/httpi

index 727c1f1a0113d7bead52eb17aa260fbbcc5c80cd..2efefc612bdbbc033bb99167f06b4f054757896c 100755 (executable)
@@ -86,7 +86,7 @@ $VERSION = "1.7 (Demonic/Linux)";
         "bin" => "application/octet-stream");
 
 # comment in to enable logs
-$logfile = "./access.log";
+$logfile = "./access.log";
 $path = "./htdocs";
 $sockaddr = 'S n a4 x8';
 
@@ -102,7 +102,7 @@ die("$0 [host] [port] required. got >$server_host< >$server_port<") unless ($ser
         );
 %restrictions = (
         "/nw" => "^10\.##^Mozilla#MSIE",
-        "/status" => "####voyeur:daNrZR3TcSwD2",
+        "/*" => "####coral:74Kib95zMHWC.",
         "/" => "###(NPBot|WebZIP|HTTrack|eCatch|Offline Explorer|UdmSearch|WebCopier|internetseer|MSIECrawler|SuperBot|LinkWalker|Tutorial Crawler|WebReaper)",
        );
                # See documentation for interpreting this string.