Re: CGI problems

Thorben Thuermer <[email protected]>
Newsgroups gmane.network.mathopd
Message-ID <[email protected]>
"Thomas W. Holt Jr." wrote:
> 
> Hey there, I was playing with mathopd and thinkng about moving
> to it on my network monitoring server, running Netsaint.
> 
> I dunno if you're familiar with netsaint, but most of it works
> through CGI's and everything works KINDA.
> 
> Here's my problem though.  When mathopd calls the cgi's it's
> not adding the right headers.  Normally on a regular html
> page it adds the following headers:
[snip]
> headers though.....I don't THINK that's the CGI's responsibility.
> 
> Am I wrong here?  Shouldn't it at LEAST Send the HTTP response.

mathopd CGIs are not normal CGIs, they have to send ALL headers
themselves, which probably allows mathopd itself to be lots
simplier.

the easiest solution for your case (running standard CGIs on mathopd)
would probably be to write wrapper scripts for them.

Thorben Thuermer
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.