chiark / gitweb /
help.pl, helpinfos: Proper virtual hosting on jazz.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 29 Dec 2012 04:16:15 +0000 (04:16 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 29 Dec 2012 04:16:15 +0000 (04:16 +0000)
help.pl
helpinfos

diff --git a/help.pl b/help.pl
index c9f2811bf665ab700d58025af4bc83aba49626ae..92ed65abd7a209b33c91a13b21772ab16beb7d7b 100755 (executable)
--- 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 (<HI>) {
     s/\s+$//;
index 4f1030887543c25f0a4f1229f90eb6685a05fc48..7155584997c466f563f3e85aedf298e99abd330d 100644 (file)
--- a/helpinfos
+++ b/helpinfos
@@ -2,7 +2,7 @@
 ::wwwaddress   distorted.org.uk IRC operators &lt;irc@distorted.org.uk&gt;
 
 :
-See http://irc.distorted.org.uk/ucgi/~ircbot/help
+See http://irc.distorted.org.uk/help/
 or /msg me with `help !overview'.
 
 :overview