[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:38:07 PDT 2023


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




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




On 2023-05-04 1:32 p.m., Chris Cantey wrote:
> Did you mean to have the ^ in that string?   MS_MAP_PATTERN 
> "^/home/web/gis/tmp/mapserver/".
> 
> It seemed to mess it up, so i reverted back to MS_MAP_PATTERN 
> "/home/web/gis/tmp/mapserver/"
> 
> Same errors
> 
> On Thu, May 4, 2023 at 8:55 AM Jeff McKenna 
> <jmckenna at gatewaygeomatics.com <mailto:jmckenna at gatewaygeomatics.com>> 
> wrote:
> 
>     Hi Chris,
> 
>     Can you try this in your config file:
> 
>          MS_MAP_PATTERN "^/home/web/gis/tmp/mapserver/"
> 
>     thanks,
> 
>     -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 10:30 a.m., Chris Cantey wrote:
>      > Hello all, I need some help.
>      >
>      > We are building a new web server a rebuilding mapserver on it,
>     migrating
>      > from 6.4 to 8.0. But in testing, we keep getting the
>     "msWMSDispatch():
>      > WMS server error. WMS request not enabled. Check
>     wms/ows_enable_request
>      > settings." error.
>      >
>      > But we have that configured in our map file under
>     map>web>metadata. So
>      > I'm not sure what is going on. Config file, map file, URL, error,
>     query
>      > string, and error below.
>      >
> 
>     _______________________________________________
>     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