[Tutor] cgi scripts

Tim Johnson tim at johnsons-web.com
Sun Nov 9 21:48:19 CET 2008


On Saturday 08 November 2008, Kent Johnson wrote:
> On Sat, Nov 8, 2008 at 3:38 AM, Jim Morcombe <jmorcombe at westnet.com.au> 
wrote:
> > I think the problem wasn't in getting the keys and values, but I might
> > have been producing illegal HTML code before.
> > I think I'd better brush up on my HTML skills.
>
> Poorly formed HTML won't give an internal server error. That is due to
> something more serious such as a syntax error in your program.
   I always configure cgi scripts so that I can also run them from the command
   line. That can be an effective way to catch errors otherwise obfuscated
   by the browser. Although I don't use windows any longer, I recall that
   pythonwin was a nice IDE to use and it probably has a syntax checker.
tim





More information about the Tutor mailing list