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 "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 /cgi-bin/mapcache.fcgi? The query string is the same. The query string contains a SERVICE key.
With the FastCGI I can see the mapcache.fcgi process is still there for a while as I would expect. The Apache error log shows a warning with the same "missing a service" and a response code of 404. But the 404 is clearly being generated by the mapcache process, not Apache. 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. Apache module, works: 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 FastCGI, error: 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 CGI, same error: 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 -- Richard W. Greenwood www.greenwoodmap.com
_______________________________________________ MapServer-users mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/mapserver-users
