projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Additional changes to spider-web. Also add the ding.au file to stop
[spider.git]
/
spider-web
/
spider.cgi
diff --git
a/spider-web/spider.cgi
b/spider-web/spider.cgi
index 248ccd5e02c9c6707dddbd9b0b3eebe41de9ca1a..47a61ef32a2386a5368388cfe120ed4ce965f6a2 100755
(executable)
--- a/
spider-web/spider.cgi
+++ b/
spider-web/spider.cgi
@@
-4,15
+4,18
@@
# @author Ian Norton
# - Based on clx-web by DL6DBH (ftp://clx.muc.de/pub/clx/clx-java_10130001.tgz)
# - Modified by PA4AB
# @author Ian Norton
# - Based on clx-web by DL6DBH (ftp://clx.muc.de/pub/clx/clx-java_10130001.tgz)
# - Modified by PA4AB
-# @version 0.
1 beta. 20010610
.
+# @version 0.
2 beta. 20020519
.
# Work out the hostname of this server.
use Sys::Hostname;
my $HOSTNAME = hostname();
# Work out the hostname of this server.
use Sys::Hostname;
my $HOSTNAME = hostname();
-# Set the hostname manually here if the above fails.
+# Please note that the HOSTNAME MUST be resolvable from the user end. Otherwise the
+# web interface will NOT work.
+# Uncomment and set the hostname manually here if the above fails.
# $HOSTNAME = "gb7mbc.spoo.org" ;
$PORT = "8000" ;
# $HOSTNAME = "gb7mbc.spoo.org" ;
$PORT = "8000" ;
+$NODECALL = "XX0XX" ;
# Send text/html header to the browser.
print "Content-type: text/html\n\n";
# Send text/html header to the browser.
print "Content-type: text/html\n\n";
@@
-48,7
+51,7
@@
print <<'EOF';
<B><BR>Cluster Web - DX Cluster Web Interface.</B><BR>
EOF
<B><BR>Cluster Web - DX Cluster Web Interface.</B><BR>
EOF
- print("Welcome to $
HOSTNAME
<BR>") ;
+ print("Welcome to $
NODECALL
<BR>") ;
print <<'EOF';
</FONT>
print <<'EOF';
</FONT>
@@
-86,6
+89,7
@@
else
<INPUT name="password" size=10 TYPE=PASSWORD><BR>
<INPUT type=submit value="Click here to Login">
</FORM>
<INPUT name="password" size=10 TYPE=PASSWORD><BR>
<INPUT type=submit value="Click here to Login">
</FORM>
+ <BR>If you do not have a password set - don't enter one :)
</CENTER>
EOF
}
</CENTER>
EOF
}