<div>Hi there,</div>
<div>&nbsp;</div>
<div>I am now facing the same problem now, after the DLL swapping according to the read-me file, the other old MapServer projects do not work any more, even under the CGI mode, and the error message looks like:</div>
<div>&nbsp;</div>
<div>[Fri Jun 16 14:38:55 2006] [error] [client <a href="http://127.0.0.1">127.0.0.1</a>] Premature end of script headers: mapserv.exe&nbsp; -- this is the error message in the Apache error log file.</div>
<div>&nbsp;</div>
<div>do anyone have any ideas?</div>
<div>&nbsp;</div>
<div>BTW: my system info: WinXP, MS4W 2.0, Oracle 10g R2 Instant Client</div>
<div>&nbsp;</div>
<div>the ogrinfo --formats that OCI is supported.</div>
<div>&nbsp;</div>
<div>many thanks.</div>
<div>&nbsp;</div>
<div>zhonghai</div>
<div><br>&nbsp;</div>
<div><span class="gmail_quote">On 6/16/06, <b class="gmail_sendername">Lasse Korhonen</b> &lt;<a href="mailto:lasse.korhonen@kokkola.fi">lasse.korhonen@kokkola.fi</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi Daniel,<br><br>we're facing exactly the same problems you described. Swapping of dll-files<br>is enough to make previously working maps totally unfunctional. Maps based
<br>on oracle spatial, shapefiles or MapInfo-files all give an Apache related<br>message &quot;Internal Server Error&quot;. Last row in the error.log states &quot;Premature<br>end of script headers: mapserv.exe&quot;.<br>
<br>I can get errors from MapServer if I break the syntax in map-file, and<br>mistakes in SQL-statements raise errors from Oracle (connection is fine?).<br>Therefore I believe the problem is not related to .map-files or database at
<br>all.<br><br>I'm wondering if this strange behaviour is somehow related to &quot;wrong&quot;<br>software environment. So far we have tested following combinations with no<br>luck:<br><br>MS4W v1.5.4 &amp; Windows NT 4.0
 &amp; remote Oracle 10g R2 database<br>MS4W v2.0 &amp; Windows NT 4.0 &amp; remote Oracle 10g R2 database<br>MS4W v1.5.4 &amp; Windows 2003 Server &amp; local Oracle 10g R2 database<br><br>Maybe Jukka could tell what operating system he had in his successful
<br>installation?<br>--<br>View this message in context: <a href="http://www.nabble.com/oracle-spatial-t1774461.html#a4895493">http://www.nabble.com/oracle-spatial-t1774461.html#a4895493</a><br>Sent from the Mapserver - User forum at 
<a href="http://Nabble.com">Nabble.com</a>.<br></blockquote></div><br>