Premature end of script headers: mapserv
Juan Mari Celihueta
jmcm at EUSKALNET.NET
Tue May 9 06:34:35 PDT 2006
Hi all,
I have compiled successfully mapserver 4.8.3 under Solaris 8:
$ ./mapserv -v
MapServer version 4.8.3 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP
OUTPUT=PDF OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=FREETYPE
SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER INPUT=TIFF
INPUT=EPPL7 INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE
However, when I put the mapserv file into the cgi-bin apache directory
and try to open the file directly without any parameters from my
browser, instead of the message expected ('No query information to
decode. QUERY_STRING is set, but empty.'), I get an 'Internal Server
Error' message. If I look the apache logfile I get this: 'Premature end
of script headers: mapserv'.
The LD_LIBRARY_PATH in the apache environment is:
LD_LIBRARY_PATH=/usr/local/lib:/usr/local/ssl/lib
export LD_LIBRARY_PATH
Could anyone help me?
Regards,
Juan.
More information about the MapServer-users
mailing list