[prev] [index] [next]

CGI at CSE

On CSE machines, users typically place CGI scripts in:

/home/UserName/public_html/cgi-bin

And access them via:

http://cgi.cse.unsw.edu.au/~Username/cgi-bin/Script

Nowadays, you can place CGI scripts

  • anywhere under your public_html directory
  • provided that they have a .cgi or .php suffix
and access them via e.g.

http://www.cse.unsw.edu.au/~UserName/path/to/script.cgi

The CSE web server will automatically forward them to the CGI server for execution.