A test suite for HTTP and CGI development
cg-eye is a test harness for HTTP and CGI. It may be used as an intermediate stage between running your software from the commandline and putting it online, and will diagnose a number of potential problems.
cg-eye has three components:
A test harness to simulate a CGI environment offline, without the need for a browser or HTTP server. See also Tom Christiansen's Idiot's Guide.
An online harness to specify an HTTP request to send to your server and print diagnostics on the server's response.
An online harness to intercept a request from a browser (normally generated "live" from an HTML form) and forward it to your server. Details of both the Request and the server's Response are printed.
For non-trivial programs you should of course use development methods appropriate to your project.
Please see the CGI Programming FAQ
(and other resources referenced therein) before asking for help.
Try the newsgroup comp.infosystems.www.authoring.cgi, and the
comp.infosystems.www.servers.* hierarchy.
You can download cg-eye source code here.
cg-eye at this site is a component of the Site Valet service.