[mapserver-users] Re: Restrict WMS operations
Hi! I finally got around to trying out Mapserver 6 beta 3. When adding this line to the map file: wms_enable_request GetCapabilities GetMap requests other than the two mentioned return a ServiceException, which is great, but the other operations still show up in the GetCapabilities response. Is there something I'm missing? Thanks! /Matti -Original Message- From: Jeff McKenna [via OSGeo.org] lt;ml-node+6192878-452004863-270...@n2.nabble.comgt; To: aznan lt;g...@email.comgt; Sent: Mon, Mar 21, 2011 5:26 pm Subject: Re: Restrict WMS operations On 11-03-21 1:01 PM, aznan wrote: gt; Hi! gt; I'm a new Mapserver user and I'm trying to figure out how to make my WMS gt; server only accept GetCapabilities and GetMap requests. gt; gt; The documentation at http://mapserver.org/ogc/wms_server.html says that gt; GetLegendGraphic requires a LEGEND object in the map file. I've been looking gt; at the examples in the OGC workshop and I tried to remove LEGEND from gt; config.map but GetLegendGraphic still shows up in the capabilities response gt; and a request still returns the blue squiggly line and 'Rivers' image. I gt; don't even know where to begin restricting GetFeatureInfo and the other gt; operations. gt; gt; Please help! Hello, Regarding restricting WMS requests, take a look at the functionality that is upcoming in the MapServer 6.0 release: http://mapserver.org/development/rfc/ms-rfc-67.html You should be able to try this on your platform, as MapServer 6.0-beta2 was just released. -jeff -- Jeff McKenna MapServer Consulting and Training Services http://www.gatewaygeomatics.com/ ___ mapserver-users mailing list [hidden email] http://lists.osgeo.org/mailman/listinfo/mapserver-users If you reply to this email, your message will be added to the discussion below: http://osgeo-org.1803224.n2.nabble.com/Restrict-WMS-operations-tp6192759p6192878.html To unsubscribe from Restrict WMS operations, click here. -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Restrict-WMS-operations-tp6192759p6219494.html Sent from the Mapserver - User mailing list archive at Nabble.com. ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Re: Restrict WMS operations
Hi aznan, This modification has been added last week. It will be in the beta 4 release. Thanks, Alan On March 29, 2011 10:51:08 am aznan wrote: Hi! I finally got around to trying out Mapserver 6 beta 3. When adding this line to the map file: wms_enable_request GetCapabilities GetMap requests other than the two mentioned return a ServiceException, which is great, but the other operations still show up in the GetCapabilities response. Is there something I'm missing? Thanks! /Matti -Original Message- From: Jeff McKenna [via OSGeo.org] lt;ml-node+6192878-452004863-270...@n2.nabble.comgt; To: aznan lt;g...@email.comgt; Sent: Mon, Mar 21, 2011 5:26 pm Subject: Re: Restrict WMS operations On 11-03-21 1:01 PM, aznan wrote: gt; Hi! gt; I'm a new Mapserver user and I'm trying to figure out how to make my WMS gt; server only accept GetCapabilities and GetMap requests. gt; gt; The documentation at http://mapserver.org/ogc/wms_server.html says that gt; GetLegendGraphic requires a LEGEND object in the map file. I've been looking gt; at the examples in the OGC workshop and I tried to remove LEGEND from gt; config.map but GetLegendGraphic still shows up in the capabilities response gt; and a request still returns the blue squiggly line and 'Rivers' image. I gt; don't even know where to begin restricting GetFeatureInfo and the other gt; operations. gt; gt; Please help! Hello, Regarding restricting WMS requests, take a look at the functionality that is upcoming in the MapServer 6.0 release: http://mapserver.org/development/rfc/ms-rfc-67.html You should be able to try this on your platform, as MapServer 6.0-beta2 was just released. -jeff -- Alan Boudreault Mapgears http://www.mapgears.com ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] Re: Restrict WMS operations
That's exactly what I was looking for. Thanks! /Matti -Original Message- From: Jeff McKenna [via OSGeo.org] ml-node+6192878-452004863-270...@n2.nabble.com To: aznan g...@email.com Sent: Mon, Mar 21, 2011 5:26 pm Subject: Re: Restrict WMS operations On 11-03-21 1:01 PM, aznan wrote: Hi! I'm a new Mapserver user and I'm trying to figure out how to make my WMS server only accept GetCapabilities and GetMap requests. The documentation at http://mapserver.org/ogc/wms_server.html says that GetLegendGraphic requires a LEGEND object in the map file. I've been looking at the examples in the OGC workshop and I tried to remove LEGEND from config.map but GetLegendGraphic still shows up in the capabilities response and a request still returns the blue squiggly line and 'Rivers' image. I don't even know where to begin restricting GetFeatureInfo and the other operations. Please help! Hello, Regarding restricting WMS requests, take a look at the functionality that is upcoming in the MapServer 6.0 release: http://mapserver.org/development/rfc/ms-rfc-67.html You should be able to try this on your platform, as MapServer 6.0-beta2 was just released. -jeff -- Jeff McKenna MapServer Consulting and Training Services http://www.gatewaygeomatics.com/ ___ mapserver-users mailing list [hidden email] http://lists.osgeo.org/mailman/listinfo/mapserver-users If you reply to this email, your message will be added to the discussion below: http://osgeo-org.1803224.n2.nabble.com/Restrict-WMS-operations-tp6192759p6192878.html To unsubscribe from Restrict WMS operations, click here. -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Restrict-WMS-operations-tp6192759p6196343.html Sent from the Mapserver - User mailing list archive at Nabble.com.___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users