|
cgi.peak.org - How to run user-written CGI programs at PEAK
The machine cgi.peak.org is a special purpose machine whose sole purpose
is to provide a platform for user written CGI programs.
Restrictions on cgi.peak.org
This is a very restricted machine in an attempt to control security issues
associated with CGI programs.
There are a number of sample CGI programs available which you can use
as starting points for your own programs. None of these programs are
necessarily good or useful programs, and who knows if they really work.
But they are examples. See them in /red/regan/public_html.
- cgi_echo.cgi: Display environment
This is a trivial program which just prints out its environment.
- error_log.cgi
Display the last portion of the error log.
This is useful information when your CGI program dies.
You can also write things to STDERR in your program which goes into the error_log.
-
lunch: Vote for lunch
Vote for lunch.
This is a trivial little program which does a certain amount
of file manipulation.
|
|