Thanks for your suggestion, Manfred.

I am sure there are no other error message in the apache log.

I have ran the mapfile using shp2img and the result is not an error message; rather, I get a Segmentation Fault. Any idea what would cause this?

Thanks,
Matt

On 6/10/06, Manfred Meier <[EMAIL PROTECTED]> wrote:
Hello,

- are you sure that there are no error messages in the apache log in the
last 5 or so lines before the "Premature end of script headers."? If you
are not sure, perhaps you can give us the last 10 lines of your log file.

- Does the same Map-File work with shp2img : shp2img -m mapfile. I use
this "debugging" method sometimes becaus it gives you the error messages
on the screen

Manfred Meier





Matthew Kane schrieb:

> I'm quite a newbie with MapServer and am having problems with server
> errors. I am going through the book "Beginning MapServer" and some of
> his maps execute just fine, but others generate a 500 Internal Server
> Error.
>
> The Apache error log isn't very helpful. It just states: Premature end
> of script headers.
>
> Any suggestions on how to track down the problem would be greatly
> appreciated.
>
> -Matt


Reply via email to