update files in spider-web
authorg0vgs <g0vgs>
Mon, 15 Jul 2002 18:25:07 +0000 (18:25 +0000)
committerg0vgs <g0vgs>
Mon, 15 Jul 2002 18:25:07 +0000 (18:25 +0000)
spider-web/README
spider-web/spider.cgi

index b32b7c3b2b930a78a07cd1e27820f62f4a0e9cfe..6406d43c2f287ef37355a719f54e96a62e11503b 100644 (file)
@@ -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!
 
 
 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
 
 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
 
 You now can connect to Spider-Web via http://yourserver/cgi-bin/spider.cgi
index 248ccd5e02c9c6707dddbd9b0b3eebe41de9ca1a..8b8763b28159dd393a0f818a2cb3391e9395cbd1 100755 (executable)
@@ -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
 # @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.
+# Uncomment and set the hostname manually here if the above fails.
 # $HOSTNAME = "gb7mbc.spoo.org" ;
 $PORT = "8000" ;
 
 # $HOSTNAME = "gb7mbc.spoo.org" ;
 $PORT = "8000" ;
 
@@ -86,6 +86,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
     }