[Mapserver-users] Mac OS X Apache Install Question.

Justin Fielke jfielke at mipela.com.au
Mon Mar 24 15:50:26 PST 2003


The server log error is:
[Mon Mar 24 08:30:15 2003] [error] [client 66.7.64.4] Premature end of 
script headers: /Library/WebServer/CGI-Executables/mapserv

Justin 

-----Original Message-----
From: Thorsten Fischer [mailto:thfischer at mapmedia.de]
Sent: Monday, March 24, 2003 7:50 PM
To: Justin Fielke
Cc: mapserver-users at lists.gis.umn.edu
Subject: Re: [Mapserver-users] Mac OS X Apache Install Question.


On Mon, 2003-03-24 at 07:07, Justin Fielke wrote:

> Also do any libraries etc need to be installed on the mac os x server 
> being used as a host.

I do not know the fink tool you mentioned (heck, i do not know much
about macos at all :) ), but if you dynamically linked your mapserver
binary then all the libraries you linked to belong on the isp's
webserver as well. 

If you don't, the error you described,

> Internal Server Error
> [ ... ]
> More information about this error may be available in the
> server error log. 

is likely to occur in _some_cases. I have seen this recently, to name an
example, when I had compiled the png library with a wrong header that
was left lurking on the system from before a system update. libpng
barked and cause the above error to occur.

Generally spoken, do as the last line in the error message says and
check the apache logs. This can be very enlightening sometimes; well, in
case it isn't just the good old 'preliminary end of script headers'
message ;)


hth,

thorsten





More information about the MapServer-users mailing list