[MapServer-users] msWMSDispatch(): WMS server error. WMS request not enabled. Check wms/ows_enable_request settings.

Jeff McKenna jmckenna at gatewaygeomatics.com
Thu May 4 09:48:08 PDT 2023


More points for your consideration:

- make sure all layers have a PROJECTION object
- remove any old references to the (non-standard/non-existing) 
EPSG:900913, replace with EPSG:3857  (see https://epsg.io/3857 )
- remove all warnings from your GetCapabilities response, every single 
warning, there should be no warnings in the response, before you move to 
testing GetMap requests
- if you have PostGIS/db connections, consider setting EXTENT at the 
layer-level, to improve speed for your clients (review optimizations at 
https://mapserver.org/optimization/vector.html )
- during GetMap testing, comment any TEMPLATE params in mapfile


-jeff




-- 
Jeff McKenna
GatewayGeo: Developers of MS4W, MapServer Consulting and Training
co-founder of FOSS4G
http://gatewaygeo.com/



On 2023-05-04 1:38 p.m., Jeff McKenna wrote:
> Yes I meant that, it forces it to be the start of the string, for security.
> 
> Can you also try changing WEB/METADATA param to  "wms_enable_request" "*"
> 
> (I may be missing something else obvious)
> 
> -jeff
> 
> 
> 
> 



More information about the MapServer-users mailing list