<div dir="ltr"><div><div><div>Hi all,<br></div>  I have recently discovered something very strange in regards to how I name my layers in MapProxy.  I am using MapServer as my wms provider, and therefore I am using cgi files to call the service.  Mapproxy is also installed on the same server.<br>
<br>ex. <a href="http://localhost/cgi-bin/layerName.cgi">http://localhost/cgi-bin/layerName.cgi</a><br><br></div>That's fine, but for the service to work in mapproxy, I must name the layer (in the 'layers' section of mapproxy.yaml) exactly what the cgi file is named, in this case it would have to be named 'layerName'.  Is this absolutely necessary? Or is there something that I am doing wrong?  I have several mosaics being served from this WMS server, and it appears to be the same with all of them.  <br>
<br></div>Here's an example config from my mapproxy.yaml<br><br>sources:<br>  malawi:<br>    type: wms<br>    image: <br>      transparent_color: '#ffffff'<br>    coverage:<br>      bbox: [32, -18, 36, -9]<br>
      bbox_srs: 'EPSG:4326'<br>    req:<br>      url: <a href="http://localhost/cgi-bin/Malawi.cgi">http://localhost/cgi-bin/Malawi.cgi</a><br>      layers: Malawi<br>      transparent: true<br>layers:<br>  - name: Mosaics<br>
    title: Mosaics<br>    layers:<br>      - name: Malawi<br>        title: WMS - Malawi<br>        sources: [malawi]<br><br><div><br>Thanks!<br></div></div>