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

Eduardo Patto Kanegae eduardo at consultoria.eti.br
Thu Mar 18 03:53:05 PST 2004


<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body>
"<font face="Arial" size="2">Premature end of script headers"<br>
<br>
this generally happens if some libs are not found.<br>
<br>
To install a MapServer windows pack extract all .dll files to
c:\windows\system32\ dir<br>
and the MapServer cgi to CGI path of your webserver.<br>
<br>
You should also take a look at MS4W ( MapServer For Windows ) at
<a class="moz-txt-link-abbreviated" href="http://www.maptools.org">www.maptools.org</a><br>
<br>
</font><br>
<pre class="moz-signature" cols="72">-- 
Eduardo Patto Kanegae
<a class="moz-txt-link-freetext" href="http://www.consultoria.eti.br">http://www.consultoria.eti.br</a>

## Projeto MapServer Brasil - <a class="moz-txt-link-freetext" href="http://mapserver.cttmar.univali.br">http://mapserver.cttmar.univali.br</a> ##
***************************************
***Fim da Mensagem / End of Message ***
***************************************</pre>
<br>
<br>
P Wilkerson escreveu:
<blockquote cite="mid001401c40c91$0bed7880$6400a8c0 at Dale1" type="cite">
  <meta http-equiv="Content-Type" content="text/html; ">
  <meta content="MSHTML 6.00.2800.1400" name="GENERATOR">
  <style></style>
  <div><font face="Arial" size="2">I am sharing a problem and the
eventual solution should others encounter a similar configuration
problem in Windows XP.</font></div>
  <div> </div>
  <div><font face="Arial" size="2">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.</font></div>
  <div> </div>
  <div><font face="Arial" size="2">Eventually, I realized that the
MapServer Lib path was not showing up under the PATH statement.</font></div>
  <div><font face="Arial" size="2">I had placed the PATH statement
under "User variables for Owner" (where other programs had put their
path statements) instead of "System variables."  </font></div>
  <div> </div>
  <div><font face="Arial" size="2">I hope this information will help
others avoid the headache I had.</font></div>
  <div> </div>
  <div><font face="Arial" size="2">Peter Wilkerson</font></div>
  <div> </div>
  <div><font face="Arial" size="2">PS--It was the following message by
Stephen Lime that gave me the clue I needed.  Thanks!!</font></div>
  <div><a
 href="http://mapserver.gis.umn.edu/data2/wilma/mapserver-users/0104/msg00020.html"><font
 face="Arial" size="2">http://mapserver.gis.umn.edu/data2/wilma/mapserver-users/0104/msg00020.html</font></a></div>
</blockquote>
<br>
</body>
</html>



More information about the MapServer-users mailing list