[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 10:29:39 PDT 2023


Also, your onlineresource is missing quotes, such as:

"wms_onlineresource" 
"https://dev.gis.lcc.mn.gov/cgi-bin/mapserv?map=/home/web/gis/tmp/mapserver/mapserver.map"




-jeff



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



On 2023-05-04 2:13 p.m., Jeff McKenna wrote:
> Thanks.  I think you solved any validation issues ( this request would 
> not validate, for example : 
> https://dev.gis.lcc.mn.gov/cgi-bin/mapserv?map=/home/web/gis/tmp/mapserver/mapserver.map )   so it's something else, very minor likely (I've got that t-shirt too, ha)
> 
> -jeff
> 
> 
> 
> On 2023-05-04 2:00 p.m., Chris Cantey wrote:
>> Thanks, Jeff.. I found that out, thanks.
>>
>> I will work down from your points.
>>
>> Besc,
>>
>> On Thu, May 4, 2023 at 11:57 AM Jeff McKenna 
>> <jmckenna at gatewaygeomatics.com <mailto:jmckenna at gatewaygeomatics.com>> 
>> wrote:
>>
>>     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/ <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
>>     <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
>>     <https://mapserver.org/optimization/vector.html> )
>>      > - during GetMap testing, comment any TEMPLATE params in mapfile
>>      >
>>      >
>>      > -jeff
>>      >
>>      >
>>      >
>>      >
>>
>>     _______________________________________________
>>     MapServer-users mailing list
>>     MapServer-users at lists.osgeo.org 
>> <mailto:MapServer-users at lists.osgeo.org>
>>     https://lists.osgeo.org/mailman/listinfo/mapserver-users
>>     <https://lists.osgeo.org/mailman/listinfo/mapserver-users>
>>
>>
>>
>> -- 
>> Chris Cantey
>> geo-odyssey.com <http://geo-odyssey.com>
> 



More information about the MapServer-users mailing list