[Mapserver-users] Windows and Premature end of script headers

P Wilkerson 1wilkerson at charter.net
Wed Mar 17 21:30:57 EST 2004


This is a multi-part message in MIME format.

------=_NextPart_000_0011_01C40C67.22C66A50
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I am sharing a problem and the eventual solution should others encounter =
a similar configuration problem in Windows XP.

After downloading MapServer and trying to install it on a Windows XP =
machine running an Apache 2 server, I encountered the following error =
message was recorded in the server's error.log file: "Premature end of =
script headers."  I've spent much of the day looking for possible =
solutions.

Eventually, I realized that the MapServer Lib path was not showing up =
under the PATH statement.
I had placed the PATH statement under "User variables for Owner" (where =
other programs had put their path statements) instead of "System =
variables." =20

I hope this information will help others avoid the headache I had.

Peter Wilkerson

PS--It was the following message by Stephen Lime that gave me the clue I =
needed.  Thanks!!
http://mapserver.gis.umn.edu/data2/wilma/mapserver-users/0104/msg00020.ht=
ml
------=_NextPart_000_0011_01C40C67.22C66A50
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1400" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff background=3D"">
<DIV><FONT face=3DArial size=3D2>I am sharing a problem and the eventual =
solution=20
should others encounter a similar configuration problem in Windows=20
XP.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>After downloading MapServer and trying =
to install=20
it on a Windows XP machine running an Apache 2 server, I encountered the =

following error message was recorded in the server's error.log file: =
"Premature=20
end of script headers."&nbsp; I've spent much of the day looking for =
possible=20
solutions.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Eventually, I realized that the =
MapServer Lib path=20
was not showing up under the PATH statement.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I had placed the PATH statement under =
"User=20
variables for Owner" (where other programs had put their path =
statements)=20
instead of "System variables."&nbsp; </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I hope this information will help =
others avoid the=20
headache I had.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Peter Wilkerson</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>PS--It was&nbsp;the =
following&nbsp;message by=20
Stephen Lime that gave me the clue I needed.&nbsp; Thanks!!</FONT></DIV>
<DIV><A=20
href=3D"http://mapserver.gis.umn.edu/data2/wilma/mapserver-users/0104/msg=
00020.html"><FONT=20
face=3DArial=20
size=3D2>http://mapserver.gis.umn.edu/data2/wilma/mapserver-users/0104/ms=
g00020.html</FONT></A></DIV></BODY></HTML>

------=_NextPart_000_0011_01C40C67.22C66A50--




More information about the mapserver-users mailing list