Due Tuesday, March 4, 2008. ------------------------------------------------------ 1. Install and configure Apache Web server on your home system or laptop. If your system is running Linux or Mac OS, you already have Apache installed. 2. Run the following script that displays environment variables set on your system, print the page and submit it at the beginning of class. Note that the shebang should contain the path to Perl interpreter on your system. #! C:\Perl\bin\perl.exe -w #test_cgi.pl #short program to print %ENV #(c) Natasha Khuri use warnings; use strict; use CGI qw( :standard); print header(), start_html("Print Environment variables"); while(my($key, $value) = each (%ENV)) { print "$key $value
"; } print end_html(); -------------------------------------------- Note that on some systems you will have to name the script test_cgi.cgi and not test_cgi.pl Both are ok for our class.