Animated Ball UMUC Logo
http://polaris.umuc.edu/~flazarus/

Installing cgi-bin access

In order to put a 'commercial' page up you will need access to a cgi-bin directory for loading CGI scripts on our server. The instructions for creating this directory are provided below:

  1. cd (Makes sure you are in your Home directory)
  2. mkdir www (Create a www directory as a child of your Home directory)
  3. cd www (Change to your www directory)
  4. mkdir cgi-bin (Create a cgi-bin directory as a child of your www directory)
  5. chmod 700 cgi-bin (Make sure group and world have no access to the cgi-bin directory)
  6. Place your CGI scripts in the cgi-bin directory. (The permissions on the scripts MUST be 700. For example: chmod 700 myscript.cgi)
  7. Use a URL in the following format to reference a CGI-SCRIPT:

    http://nova.umuc.edu/cgi-bin/cgiwrap/username/script_name

    For example, if Godzilla had a CGI script called "smash.cgi", he'd reference it with the following URL:

    http://nova.umuc.edu/cgi-bin/cgiwrap/godzilla/smash.cgi

The 'cgiwrap' above maybe replaced with 'cgiwrapd' to be run with full debugging output. Also, one may use 'nph-cgiwrap' and 'nph-cgiwrapd' for normal and debugging use of CGI's that output binary data (e.g. GIFs).

Return to Index