Iowa State University

Iowa State University
Public Homepage Web Server


 

cgi.public Service

 
 
  • CGIs may be referenced using URLs of the form: http://netid.public.iastate.edu/cgi-bin/scriptname
  • For debugging output, try running your script as: http://cgi.public.iastate.edu/cgi-bin/cgiwrapd/username/scriptname
  • If you need access to the REMOTE_ADDR variable (some scripts depend on this), invoke your script as:
    http://cgi.public.iastate.edu/cgi-bin/cgiwrap/username/scriptname

    The REMOTE_ADDR environment variable is not preserved when cgi.public is used in the URL due to DNS and mod_rewriting rules.

  • Access to the error_log file is not generally available unless permission has been granted by the Solution Center.
  • When writing html to reference your scripts, we recommend you write your cgi URLs of the form "http://cgi.public.iastate.edu/..." rather than "http://www.public.iastate.edu/..." This will make things easier.
  • Scripts may be written in any language which support exists for on standard Project Vincent Alphastations (Perl, C, csh, sh, etc).
  • Enable CGI for a NetID or locker by going to this ASW URL
  • Questions? Contact the Solution Center at 294-4000 or e-mail solution@iastate.edu.