update files in spider-web
[spider.git] / spider-web / README
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!
 
-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