[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:57:19 PDT 2023


Also note, that the regular expression "^" trick applies to the 
MS_MAP_PATTERN in the config file (not the MS_ERRORFILE path in the 
mapfile).


Thanks for using MapServer Chris,

-jeff



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


On 2023-05-04 1:48 p.m., Jeff McKenna wrote:
> 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
> 
> 
> 
> 




More information about the MapServer-users mailing list