[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Malformed Header Error



--- John Ingham <machinist@xxxxxxxxx> wrote:

> My error_log-ssl gives me this....
> 
> <<<<
> [Sun Apr  9 18:45:53 2000] [error] [client 209.182.131.30] malformed header
> from script. Bad header=nobody... Recipient names must:
> /home/httpd/html/ssl/bnbform/bnbform.cgi
> >>>>
> 
> When I run bnbform.cgi from a telnet command prompt... i.e. perl
> bnbform.cgi
> ... it appears to run well enough.
> In fact when I run any cgi from the command line or via the web if they do
> not
> use sendmail or access SMTP they return good results....

When you run it from the command line, do you see:
   Content-type: text/html
   [blank line]
   ...rest of CGI

the error you are seeing means your CGI isn't sending the required
Content-type header.

Paul

__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com