From: Michael Wiebusch Date: Tue, 11 Aug 2015 14:10:52 +0000 (+0200) Subject: added user authentication to httpi X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=3f8021397e301a5b35a6613f4dfc6201ee3e1b55;p=coral.git added user authentication to httpi --- diff --git a/user_interface/httpi b/user_interface/httpi index 727c1f1..2efefc6 100755 --- a/user_interface/httpi +++ b/user_interface/httpi @@ -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.