<div dir="ltr"><div>I have been running mapcache as an Apache module. I'm now trying to get the same configuration running as a FastCGI process. But making a CGI or FCGI request I get the error message "<span style="color:rgb(0,0,0);white-space:pre-wrap">missing a service". I have the mapcache binary installed in the Ubuntu cgi-bin directory. The full urls are below, but the only change in the urls is from /mapcache/? to /cgi-bin/mapcache? or </span><span style="color:rgb(0,0,0);white-space:pre-wrap">/cgi-bin/mapcache.fcgi? The query string is the same. The query string contains a SERVICE key.</span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap"><br></span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap">With the FastCGI I can see the </span><span style="color:rgb(0,0,0);white-space:pre-wrap">mapcache.fcgi </span><span style="color:rgb(0,0,0);white-space:pre-wrap">process is still there for a while as I would expect. The Apache error log shows a warning with the same </span>"<span style="color:rgb(0,0,0);white-space:pre-wrap">missing a service" and a response code of 404. But the 404 is clearly being generated by the mapcache process, not Apache.</span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap"><br></span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap">This is on Ubuntu 22.02 with standard repo install of mapcache 1.12. I tried it on two different computers, same problem. One computer did not have the Apache module installed so it's not a conflict between the module and the CGI. I tried changing the WMS version and a few other random things.</span></div><div><br></div><div>Apache module, works:</div><div><a href="https://www2.greenwoodmap.com/mapcache/?LAYERS=laramie-contours&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&FORMAT=image%2Fpng&TRANSPARENT=true&WIDTH=256&HEIGHT=256&CRS=EPSG%3A3736&STYLES=&BBOX=753300.78125%2C248291.015625%2C753642.578125%2C248632.8125">https://www2.greenwoodmap.com/mapcache/?LAYERS=laramie-contours&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&FORMAT=image%2Fpng&TRANSPARENT=true&WIDTH=256&HEIGHT=256&CRS=EPSG%3A3736&STYLES=&BBOX=753300.78125%2C248291.015625%2C753642.578125%2C248632.8125<br></a></div><br clear="all"><div>FastCGI, error:</div><div><a href="https://www2.greenwoodmap.com/cgi-bin/mapcache.fcgi?LAYERS=laramie-contours&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&FORMAT=image%2Fpng&TRANSPARENT=true&WIDTH=256&HEIGHT=256&CRS=EPSG%3A3736&STYLES=&BBOX=753300.78125%2C248291.015625%2C753642.578125%2C248632.8125">https://www2.greenwoodmap.com/cgi-bin/mapcache.fcgi?LAYERS=laramie-contours&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&FORMAT=image%2Fpng&TRANSPARENT=true&WIDTH=256&HEIGHT=256&CRS=EPSG%3A3736&STYLES=&BBOX=753300.78125%2C248291.015625%2C753642.578125%2C248632.8125</a><br></div><div><br></div><div>CGI, same error:</div><div><a href="https://www2.greenwoodmap.com/cgi-bin/mapcache?LAYERS=laramie-contours&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&FORMAT=image%2Fpng&TRANSPARENT=true&WIDTH=256&HEIGHT=256&CRS=EPSG%3A3736&STYLES=&BBOX=753300.78125%2C248291.015625%2C753642.578125%2C248632.8125">https://www2.greenwoodmap.com/cgi-bin/mapcache?LAYERS=laramie-contours&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&FORMAT=image%2Fpng&TRANSPARENT=true&WIDTH=256&HEIGHT=256&CRS=EPSG%3A3736&STYLES=&BBOX=753300.78125%2C248291.015625%2C753642.578125%2C248632.8125</a><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Richard W. Greenwood<br><a href="http://www.greenwoodmap.com" target="_blank">www.greenwoodmap.com</a></div></div></div>