Lesson 2 - CGI Details
Lesson Outline
Download 
Required Reading
-
CGI
101: Chapter
1 & Chapter
3 (review Chatper
2 if you need to)
- WWW: Common
Gateway Interface
- WWW: CGI
Programming Tutorial
- WWW: Environment
Variables
- WWW: Enabling
CGI on the APACHE server
- WWW: Running
CGI Scripts from SSI
- WWW: Enabling
SSI on the APACHE server
Additional Resources
You should probably at least skim over the full Big
Nose Bird article on APACHE
configuration. It's definitely one of the dominant web
servers (most others are similiar), and it's nice to sound
like you know what you're talking about when you contact tech
support!
Also useful is the chart of APACHE
Server Status & Error Codes.
One of the oldest web server packages is NCSA
HTTPd. Be sure to review how to enable
CGI on that server. Notice how similar it is to APACHE.
Some ISPs used a program called cgiwrap
to allow CGI script access. This program adds some security
checking around the CGI program. More on that later.
For more information on why CGI scripts typically run as
"nobody" (which is a standard UNIX user account
with very few permissions on the system) you can peak ahead
to some info dealing with security.
Perl
Diver is a nifty little script that will print out your
environment variables, among other things.
Read more about SSI
and it's Extensions.
Next Step
Take the self-quiz
Complete project 2
Continue to lesson 3
Jump
to Forums [Lesson 2]
|