Next: Trouble Shooting
Up: Beginning CGI Programming in
Previous: Creating and Running A
We assume that a Perl Script has been created and tested on a Macintosh in MacPerl.
To run a CGI Perl script on UNIX, Simply:
- FTP (use Fetch) the Perl Script (this the .pl) to the appropriate
cgi-bin directory on UNIX (project or public).
- Put associated HTML file in appropriate
html directory on UNIX (project or public).
- Reference Perl script either via
- a FORM -- Make sure URL is the Correct UNIX URL
- Directly with a URL
- The URL is either or
http://www.cs.cf.ac.uk/Project-bin/A.B.Surname/cgi_script/file.pl
http://www.cs.cf.ac.uk/User-bin/A.B.Surname/file.pl.
Dave Marshall
9/28/2001