<div dir="ltr">So for sure <a href="https://demo.mapserver.org/cgi-bin/wms" target="_blank">https://demo.mapserver.org/cgi-bin/wms</a> is FastCGI? This seems like it might be kinda hard to debug.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Apr 7, 2022 at 1:26 AM Rahkonen Jukka (MML) <<a href="mailto:jukka.rahkonen@maanmittauslaitos.fi">jukka.rahkonen@maanmittauslaitos.fi</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div lang="FI" style="overflow-wrap: break-word;">
<div class="gmail-m_-896321563030472361WordSection1">
<p class="MsoNormal"><span>Hi,<u></u><u></u></span></p>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">I have seen those http 500 errors but I do not remember in what circumstances. What I do remember is that I was awaiting for some other message that I was used to see and getting past
the 500 error required prior knowledge about what might be wrong. Not very useful but at least you know that you are not totally alone. Issue does not happen on our demo server
<a href="https://demo.mapserver.org/cgi-bin/wms" target="_blank">https://demo.mapserver.org/cgi-bin/wms</a>.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">By the first message you got it seems that your initial bare request is effectively not the most initial but the default mapfile is added to the query. Otherwise the message would be
shorter “No query information to decode. QUERY_STRING is set, but empty.” Probably that does not matter but maybe there is something to test about SetEnv or SetEnvIf or whatever you have used in the Apache configuration.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">-Jukka Rahkonen-<br>
<br>
<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(225,225,225);padding:3pt 0cm 0cm">
<p class="MsoNormal"><b>Lähettäjä:</b> MapServer-dev <<a href="mailto:mapserver-dev-bounces@lists.osgeo.org" target="_blank">mapserver-dev-bounces@lists.osgeo.org</a>>
<b>Puolesta </b>Steve Lime<br>
<b>Lähetetty:</b> keskiviikko 6. huhtikuuta 2022 23.16<br>
<b>Vastaanottaja:</b> MapServer Dev Mailing List <<a href="mailto:mapserver-dev@lists.osgeo.org" target="_blank">mapserver-dev@lists.osgeo.org</a>><br>
<b>Aihe:</b> [mapserver-dev] FastCGI<u></u><u></u></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal"><span style="font-family:Arial,sans-serif">Hi all: It might be surprising but I've not used FastCGI much over the years and am diving in w/8.0. I'm using SuSE Linux and running into an issue with error messages. For example an initial
bare request (e.g. <a href="https://myhost.com/cgi-bin/mapserv.fcgi" target="_blank">https://myhost.com/cgi-bin/mapserv.fcgi</a>) generates the expected message "
<span style="color:black">loadParams(): Web application error. No query information to decode. QUERY_STRING is set, but empty.". However, a second request (and any subsequent requests) generates a 500 error. Any requests that would normally create a map, query,
etc... resolve normally so it seems to be limited to typical CGI error messages. Has anyone run into this issue?</span></span><u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:Arial,sans-serif;color:black">--Steve</span><u></u><u></u></p>
</div>
</div>
</div>
</div>
</blockquote></div>