CGI & Error 4044

Hi,

I am trying to get a CGI program running (mapserv - a GIS application)

and when I place the CGI executable in my cgi-bin directory I am getting

the following errors:

browser:

-

The page cannot be displayed

There is a problem with the page you are trying to reach and it cannot

be displayed.

-

in webserver error log:

-

for host x.x.x.x trying to GET /cgi-bin/mapserv.cgi, cgi_scan_headers

reports: HTTP4044: the CGI program /data/software/cgi

bin/mapserv.cgi did not produce a valid header (program terminated

without a valid CGI header. Checkfor core dump or other abnormal

termination)

-

All my other CGI apps work fine except this one. What else can I do to work out where the problem is?

Permissions are correct

I can run the CGI app form the command line and get a normal message say that I should use a httpd service, so I know nothing is wrong with the CGI app executable itself.

Any help would be appreciated.

thanks,

Rob

[1154 byte] By [robert_appleby] at [2007-11-26 8:19:37]
# 1
Maybe the CGI isn't printing out a content-type header?
motor at 2007-7-6 21:23:25 > top of Java-index,Web & Directory Servers,Web Servers...