This is the source code and links for Chapter 10 of CGI Programming 101.

Chapter 10: Redirection

Name Description
ad-cgi.html Ad CGI (source code)
click-cgi.html Ad Click CGI (source code)
adpage.html Ad Page (example)
adtally.cgi Ad Tally (example)
adtally-cgi.html Ad Tally (source code)
env.cgi Referrer Redirect (example)
env-cgi.html Referrer Redirect (source code)
country.cgi Country Redirect (example)
country-cgi.html Country Redirect (source code)
hostbounce.html Hostname Redirect (example)
hostbounce-cgi.html Hostname Redirect (source code)