<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
I was getting the exact same error when accessing the GetCapabilities
output. For me, the output was getting truncated at 4kb, resulting in
the "premature end of script headers" message. Even if I ran the
script from the command line, the error was still there (if output was
to a file, such as > out.xml, but all worked great when directing
output to screen.)<br>
<br>
<a class="moz-txt-link-freetext" href="http://n2.nabble.com/GetCapabilities-response-being-truncated-td3234081.html">http://n2.nabble.com/GetCapabilities-response-being-truncated-td3234081.html</a><br>
<br>
The error was also there when connecting to WMS services as a tile
server, such as via Google Maps API. About half of the tiles would
show up and the other half of the requests had the same error. (a
single request to the WMS always worked great, it seemed to be the
multiple, almost concurrent requests from the GM api that caused the
error.)<br>
<br>
Unfortunately, I could not solve the problem. The error occurred on
two of by Windows Server 2008 machines, a third 2008 machine worked
great. My Windows XP and Server 2003 machines worked great so I went
with Server 2003. (all machines were x64 bit and used Apache 2.2. I
am not sure if they all used vhosts/subdomains or not.)<br>
<br>
<br>
Good luck! I gave up and just went with a machine that worked (one of
the benefits of virtualization!) <br>
<br>
- John<br>
<pre class="moz-signature" cols="72">**************************************************
John Callahan, Geospatial Application Developer
Delaware Geological Survey, University of Delaware
Email: <a class="moz-txt-link-abbreviated" href="mailto:john.callahan@udel.edu">john.callahan@udel.edu</a>
**************************************************
</pre>
<br>
<br>
Ted Spradley wrote:
<blockquote cite="mid:1253574702575-3689033.post@n2.nabble.com"
type="cite">
<pre wrap="">The Apache error_log shows:
error_log shows:
[Mon Sep 21 12:40:20 2009] [error] [client 98.200.238.238] Premature end of
script headers: mapserv
Thanks, Ted S.
Andy Colson wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Ted Spradley wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi all,
I decided it would be a good idea to move all of my mapping activity to a
subdomain: maps.subdomain.com
Accessing mapserv by '<a class="moz-txt-link-freetext" href="http://maps.domain.com/cgi-bin/mapserv">http://maps.domain.com/cgi-bin/mapserv</a>' the result
is '500 Internal Server Error'.
Accessing mapserv by '<a class="moz-txt-link-freetext" href="http://domain.com/cgi-bin/mapserv">http://domain.com/cgi-bin/mapserv</a>' the result
is the expected 'No query information to decode. QUERY_STRING is set, but
empty. '.
access_log shows the two requests converted to the same GET:
1. '<a class="moz-txt-link-freetext" href="http://domain.com/cgi-bin/mapserv">http://domain.com/cgi-bin/mapserv</a>' -
</pre>
</blockquote>
<pre wrap="">What does apache error log show?
-Andy
_______________________________________________
mapserver-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a>
</pre>
</blockquote>
<pre wrap=""><!---->
</pre>
</blockquote>
</body>
</html>