From b1d2bac29bfd88be5ba6d4b59df4574b15e402b6 Mon Sep 17 00:00:00 2001 From: g0vgs Date: Mon, 15 Jul 2002 18:25:07 +0000 Subject: [PATCH] update files in spider-web --- spider-web/README | 37 ++++++++++++++++++------------------- spider-web/spider.cgi | 5 +++-- 2 files changed, 21 insertions(+), 21 deletions(-) diff --git a/spider-web/README b/spider-web/README index b32b7c3b..6406d43c 100644 --- a/spider-web/README +++ b/spider-web/README @@ -5,33 +5,32 @@ Completely based on a clx web client written in Java by dl6dbh The webserver has to run on the same machine as your DxSpider software! -Installation instructions: +Installation instructions (Performed as root): Put all the files in the spider-web directory into a newly created directory -under the documentroot of your websever for instance 'client'. In my case -this is: -/usr/local/httpd/spider/client/ +under the DocumentRoot of your websever for instance 'client'. In my case +this is: /var/www/html/client/ -================================================================ -!NOTE! this directory has to be writeable by your http daemon!!!! -================================================================= +Move spider.cgi to the cgi-bin directory of your webserver, in my case that is +/var/www/cgi-bin/ -move spider.cgi to the cgi-bin directory of your webserver, in my case that is -/usr/local/httpd/cgi-bin/ -make it worldreadable. +Change the permissions of the files to ensure they are correct : -edit spider.cgi and change the following parameters: +chmod 755 /var/www/cgi-bin/spider.cgi +chmod -R 755 /var/www/html/client/ -portnumber=$"1407" -tempdir=$"/usr/local/httpd/spider/client/" -clustercall=$"PA4AB-15" +By default the spider.cgi script should pick up your hostname (As long as this +is set correctly). If it does not or your hostname differs from the name that +you attach to the public address that you are using, then edit spider.cgi : -'portnumber' is the portnumber that you use to connect to your DxSpider via -telnet (see Listeners.pm) +# Uncomment and set the hostname manually here if the above fails. +# $HOSTNAME = "gb7mbc.spoo.org" ; +$PORT = "8000" ; + +'HOSTNAME' is the hostname of your cluster. -'tempdir' is the directory that you just created and that you used to move -the *.java and *.class files to. +'PORT' is the portnumber that you use to connect to your DxSpider via +telnet (see Listeners.pm) -'clustercall' is the call of your cluster. You now can connect to Spider-Web via http://yourserver/cgi-bin/spider.cgi diff --git a/spider-web/spider.cgi b/spider-web/spider.cgi index 248ccd5e..8b8763b2 100755 --- a/spider-web/spider.cgi +++ b/spider-web/spider.cgi @@ -4,13 +4,13 @@ # @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(); -# Set the hostname manually here if the above fails. +# Uncomment and set the hostname manually here if the above fails. # $HOSTNAME = "gb7mbc.spoo.org" ; $PORT = "8000" ; @@ -86,6 +86,7 @@ else
+
If you do not have a password set - don't enter one :) EOF } -- 2.43.0