From: Mark Wooding Date: Sat, 29 Dec 2012 04:16:15 +0000 (+0000) Subject: help.pl, helpinfos: Proper virtual hosting on jazz. X-Git-Url: https://git.distorted.org.uk/~mdw/ircbot/commitdiff_plain/38f6943ea4dc881ac5702af65fd0d253de9ec63f?hp=8de6e01b5b0e79d91838e0320cc1424d526ae729 help.pl, helpinfos: Proper virtual hosting on jazz. --- diff --git a/help.pl b/help.pl index c9f2811..92ed65a 100755 --- a/help.pl +++ b/help.pl @@ -23,7 +23,8 @@ s,/[^/]+$,/helpinfos, or die "$_ ?"; open HI, "< $_" or die $?; $tc= '-+._0-9a-z'; -$sf= $ENV{'SCRIPT_NAME'}; +##$sf= $ENV{'SCRIPT_NAME'}; +$sf = "/help"; while () { s/\s+$//; diff --git a/helpinfos b/helpinfos index 4f10308..7155584 100644 --- a/helpinfos +++ b/helpinfos @@ -2,7 +2,7 @@ ::wwwaddress distorted.org.uk IRC operators <irc@distorted.org.uk> : -See http://irc.distorted.org.uk/ucgi/~ircbot/help +See http://irc.distorted.org.uk/help/ or /msg me with `help !overview'. :overview