[mapserver-users] mapserver files to subdomain results in '500 Internal Server Error' when mapserv executable accessed through url
Andy Colson
andy at squeakycode.net
Mon Sep 21 19:03:52 PDT 2009
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
>>
>>
>
Yep, that means mapserv is crashing before it can send any output to apache. I've had the same error in my perl mapscript when I do something dumb and the script dies in the middle.
Are you sending different params to mapserv for one url vs. the other? Any differences at all? Does apache have different virtual hosts for the two urls, or aliases (ie. are they hitting the same mapserv on disk)?
(If you rename the mapserv to something and then try both urls do they both return 404's?)
-Andy
More information about the MapServer-users
mailing list