home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 10 / amigaformatcd10.iso / -in_the_mag- / html_tutorial / read.me < prev    next >
Text File  |  1996-05-09  |  1KB  |  37 lines

  1. Running on a different machine.
  2.  
  3. The easiest way is just to copy the files on to your local machine without
  4. any changes. 
  5. However the CGI programs will still run on our machine in Brighton UK.
  6.  
  7. To make the system run on your local machine, the following changes
  8. need to be made.
  9.  
  10.  
  11. Compile the following CGI programs.
  12. I used the g++ compiler. I have binaries for a sun system.
  13.  
  14. mas_form.cpp -> mas_form
  15. mas_env.cpp  -> mas_env
  16. mas_try.cpp  -> mas_try
  17. mas_rec2.cpp -> mas_rec   // This version is a dummy
  18.  
  19. If you have a Un*x machine then the Makefile will do this.
  20. You may wish to edit the install directory
  21.  
  22. To install on a different system the following global substitutions
  23. need to be made on all files. These change the location of the CGI
  24. program files and the name of the server.
  25.  
  26.  
  27. snowwhite.it.bton.ac.uk   ->    To the IP address of your server
  28. www.brighton.ac.uk        ->    To the IP address of your server
  29. ~mas/mas/courses/html     ->    Directory holding files on your machine
  30. ~mas/htp/mas_logs         ->    The name of the log file
  31.  
  32.  
  33. If you have a Un*x machine then the file convert.sh will do this.
  34. You will need to replace the definitions in the first few lines for
  35. appropirate new values.
  36.  
  37.