[mapserver-users] Mapfile WMS configuration fail

Lars Schylberg lars.schylberg at blixtmail.se
Fri Oct 2 10:08:26 PDT 2020


Hi,

This usually the order I test mapserver configurations.

1) Test your mapfile with shp2img 
https://www.mapserver.org/utilities/shp2img.html

2) Test your WMS config with the built in open layers viewer: 
https://mapserver.org/cgi/openlayers.html

3) Test with QGIS

If you really want test the mapserver syntax, install and use: 
https://mappyfile.readthedocs.io/en/latest/  and use the validate 
command on the command line.

Good luck !

/Lars Schylberg

Den 2020-10-02 kl. 18:54, skrev BRIAN STIFFENN LUNA BOLIVAR:
> Hello everyone, good day. I have a problem when making the wms request 
> through QGIS, where when loading the layer I get the following error: 
> "connection rejected".
> 1. How can I solve it?
> 2. In Mapbender, I have an error when connecting the WMS, because the 
> error that appears is the following: Error in the source mapping: 
> Error: request failed with status 404; can it be because of the 
> problem with the configuration of my mapfile?
>
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapserver-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20201002/0f0c9dac/attachment.html>


More information about the mapserver-users mailing list