[mapserver-dev] FastCGI

Jeff McKenna jmckenna at gatewaygeomatics.com
Fri Apr 8 11:57:37 PDT 2022


demo.mapserver.org is not FastCGI (hence why it is so reliable ;)

I keep an updated build note at bottom of demo.mapserver.org homepage, 
let me know if other details are needed.


-jeff



-- 
Jeff McKenna
GatewayGeo: Developers of MS4W, MapServer Consulting and Training
co-founder of FOSS4G
http://gatewaygeo.com/



On 2022-04-08 2:41 p.m., Steve Lime wrote:
> So for sure https://demo.mapserver.org/cgi-bin/wms 
> <https://demo.mapserver.org/cgi-bin/wms> is FastCGI? This seems like it 
> might be kinda hard to debug.
> 
> On Thu, Apr 7, 2022 at 1:26 AM Rahkonen Jukka (MML) 
> <jukka.rahkonen at maanmittauslaitos.fi 
> <mailto:jukka.rahkonen at maanmittauslaitos.fi>> wrote:
> 
>     Hi,____
> 
>     __ __
> 
>     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 https://demo.mapserver.org/cgi-bin/wms
>     <https://demo.mapserver.org/cgi-bin/wms>.____
> 
>     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.____
> 
>     __ __
> 
>     -Jukka Rahkonen-
> 
>     ____
> 
>     __ __
> 
>     *Lähettäjä:* MapServer-dev <mapserver-dev-bounces at lists.osgeo.org
>     <mailto:mapserver-dev-bounces at lists.osgeo.org>> *Puolesta *Steve Lime
>     *Lähetetty:* keskiviikko 6. huhtikuuta 2022 23.16
>     *Vastaanottaja:* MapServer Dev Mailing List
>     <mapserver-dev at lists.osgeo.org <mailto:mapserver-dev at lists.osgeo.org>>
>     *Aihe:* [mapserver-dev] FastCGI____
> 
>     __ __
> 
>     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. https://myhost.com/cgi-bin/mapserv.fcgi
>     <https://myhost.com/cgi-bin/mapserv.fcgi>) generates the expected
>     message " 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?____
> 
>     __ __
> 
>     --Steve____
> 
> 
> _______________________________________________
> MapServer-dev mailing list
> MapServer-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapserver-dev



More information about the MapServer-dev mailing list