Bookmark this page: Add Mapserver   Premature end of script headers   to Yahoo MyWeb Add Mapserver   Premature end of script headers   to Google Bookmarks Add Mapserver   Premature end of script headers   to Windows Live Add Mapserver   Premature end of script headers   to Del.icio.us Digg Mapserver   Premature end of script headers  ! Add Mapserver   Premature end of script headers   to Netscape
  •  
  • Subject
  • Author
  • Date
If you were  Registered and logged in, you could reply and use other advanced thread options
Posted by peterjames32@googlemail.com on August 26, 2006, 2:26 pm
Hi,

Im just getting started with Mapserver.

I have Mapserver binaries installed (v 4.6) on Windows (XP Pro) running
apache (2.0.53) and PHP (4.4).

When I try and run the Itasca demo IE crashes and I get the following
error:

**********************
Internal Server Error
The server encountered an internal error or misconfiguration and was
unable to complete your request.

Please contact the server administrator, someone@somewhere.com and
inform them of the time the error occurred, and anything you might have
done that may have caused the error.

More information about this error may be available in the server error
log.
**********************

When I check the server log I have the following error:

Premature end of script headers: mapserv.exe

Anyone knopw why this might be happening? I have seen a few posts in
the past that loosely mention moving dll's from a php directory to the
mapserver directory, but there is never any reason behind doing this
and moving dll's around makes me nervous!

Any idea would be much appreciated. To the best of my knowledge all
the individual components seem to work fine, php ok, mapserver ok (I
can get it generating images from shapefiles) but I get a nasty error
when i try and 'initialise' the itasca demo.

All help appreciated.

Pete


Posted by tomkralidis on August 27, 2006, 9:16 am
peterjames32@googlemail.com wrote:
> Hi,
> Im just getting started with Mapserver.
> I have Mapserver binaries installed (v 4.6) on Windows (XP Pro) running
> apache (2.0.53) and PHP (4.4).
> When I try and run the Itasca demo IE crashes and I get the following
> error:
> **********************
> Internal Server Error
> The server encountered an internal error or misconfiguration and was
> unable to complete your request.
> Please contact the server administrator, someone@somewhere.com and
> inform them of the time the error occurred, and anything you might have
> done that may have caused the error.
> More information about this error may be available in the server error
> log.
> **********************
> When I check the server log I have the following error:
> Premature end of script headers: mapserv.exe
> Anyone knopw why this might be happening? I have seen a few posts in
> the past that loosely mention moving dll's from a php directory to the
> mapserver directory, but there is never any reason behind doing this
> and moving dll's around makes me nervous!
> Any idea would be much appreciated. To the best of my knowledge all
> the individual components seem to work fine, php ok, mapserver ok (I
> can get it generating images from shapefiles) but I get a nasty error
> when i try and 'initialise' the itasca demo.
> All help appreciated.
> Pete

Does mapserver work from the command line? If it is indeed the DLL's,
then you'll have to set IIS to know where these are.

Having said this, you'll have better luck posting this to the
mapserver-users mailing list.

..Tom