Re: [Tutor] how to return an error from a CGI

2008-05-12 Thread Danny Yoo
Hi John, It's been a long time! I believe you may be looking for the Status Code stuff that web servers use to tell browsers that something special is happening. See Section 3.3.1.3 in: http://www.unix.com.ua/orelly/linux/cgi/ch03_03.htm for an example done in Perl; the code should be

[Tutor] how to return an error from a CGI

2008-05-12 Thread Ertl, John C CIV 63134
Classification: UNCLASSIFIED Caveat (s): FOUO All, I have been writing simple cgi scripts for a long time but have never worried about the error codes. Now I have been asked to return a specific error and I have no idea how to do this. I do not even know if I should be returning an HTTP or