This information explains how to set up custom CGI scripts specifically for department with webpages on www.usask.ca. It does not describe how to write CGI scripts, just how to install them in a departmental web area on www.usask.ca.
To set up a custom CGI script, you must first register with the central webmasters, by sending them an e mail. Please include the URL for your departmental web area in your message.
Once you have registered, you can install your CGI script as follows.
Create a directory named "cgi-bin" in your departmental web area, place your script in a file in this directory, and make your script executable:
cd /www/department mkdir cgi-bin cp scriptname cgi-bin chmod +x cgi-bin/scriptname
Have the web server execute your script using the CGIwrap software by referring to it on a webpage as: