#!/bin/sh echo Content-type: text/html echo Status: $REDIRECT_STATUS Intercepted cat << EOF <html> <head> <title> Test CGI Script that Works </title> <link rel="stylesheet" href="http://pecunianonolet.com/style.css" type="text/css" /> <style type="text/css"> h3 { font-weight: bold; font-size: small; letter-spacing: 0.1em; text-transform: none; } </style> <head> <body> <h1>A Test CGI Script that Works</h1> <h2>Explanation</h2> <p>Although this is non-interactive webpage, it is created each time the web server here gets a request for the URL. You can see the actual guts of it at <a href="http://www.thepaperpusher.net/showGutsWorking.cgi">the showGutsWorking cgi</a> here.</p> <h2>Is that it?</h2> <p>Yes. not very exciting, is it?</p> <h2>Everything the webserver has in the execution environment for this script, including some info about you</h2> <h3>Can you spot it?</h3> <p>Hint: on the <em>right</em> of the equals signs, look for familiar names and numbers.</p> <pre> EOF export cat << EOF </pre> <p>And that's really everything to this.</p> </body> </html> EOF