[mapserver-users] nginx+mapserver+mapcache : received wms with no service and request

Jeff McKenna jmckenna at gatewaygeomatics.com
Thu Dec 3 08:24:45 PST 2020


Hi Sylvain,

I'm not sure what is happening in your case (but maybe others notice), 
however I just checked an existing (MS4W) MapCache instance for the 
exact demo url: https://ms4w.dev/mapcache/demo/

I don't use any special settings in mapcache.xml (actually if you want 
to compare the exact implemented mapcache.xml, you can download it from 
https://ms4w.com : mapcache.xml lives in /ms4w/apps/mapcache/ ).  I do set:

   <service type="demo" enabled="true"/>

Not sure what else it could be,

-jeff



-- 
Jeff McKenna
MapServer Consulting and Training Services
co-founder of FOSS4G
http://gatewaygeo.com/



On 2020-12-03 11:54 a.m., Sylvain Fabre wrote:
> Hi all,
> 
> I am in the process of migrating an old setup of apache/mapcache/mapserver to nginx/mapcache/mapserver.
> 
> The nginx+mapserver is working well, but i am struggling at configuring mapcache.
> It seems working for this request  : http://127.0.0.1/mapcache?service=wms&version=1.1.1&request=GetCapabilities
> 
> But for request like : http://127.0.0.1/mapcache/demo
> I receive the error : "received wms with no service and request"
> 
> It was working with the previous setup (ie apache/mapcache/mapserver), but not anymore with nginx.
> 
> I am convince that i have a mistake or something in my new config files, but could you point me in the right direction : ) ?
> 
> Thanks !
> 
> 





More information about the MapServer-users mailing list