[mapserver-users] mapserver files to subdomain results in '500 Internal Server Error' when mapserv executable accessed through url

John Callahan john.callahan at UDel.Edu
Mon Sep 21 20:33:43 EDT 2009


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.)

http://n2.nabble.com/GetCapabilities-response-being-truncated-td3234081.html

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.)

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.)


Good luck!   I gave up and just went with a machine that worked (one of 
the benefits of virtualization!)

- John

**************************************************
John Callahan, Geospatial Application Developer
Delaware Geological Survey, University of Delaware
Email: john.callahan at udel.edu
**************************************************




Ted Spradley wrote:
> 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:
>   
>> Ted Spradley wrote:
>>     
>>> 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 'http://maps.domain.com/cgi-bin/mapserv' the result
>>> is '500 Internal Server Error'.
>>>
>>> Accessing mapserv by 'http://domain.com/cgi-bin/mapserv' 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. 'http://domain.com/cgi-bin/mapserv' -
>>>
>>>       
>> What does apache error log show?
>>
>> -Andy
>> _______________________________________________
>> mapserver-users mailing list
>> mapserver-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>>
>>
>>     
>
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090921/b5573bbb/attachment.html


More information about the mapserver-users mailing list