<font color='black' size='2' face='arial'>
<div>That's exactly what I was looking for. Thanks!</div>


<div>/Matti<br>
<br>
</div>


<div style="CLEAR: both"></div>
<br>
<br>


<div style="FONT-FAMILY: arial,helvetica; COLOR: black; FONT-SIZE: 10pt">-----Original Message-----<br>
From: Jeff McKenna [via OSGeo.org] &lt;<a href="/user/SendEmail.jtp?type=node&node=6196343&i=0&by-user=t" target="_top" rel="nofollow" link="external">[hidden email]</a>&gt;<br>
To: aznan &lt;<a href="/user/SendEmail.jtp?type=node&node=6196343&i=1&by-user=t" target="_top" rel="nofollow" link="external">[hidden email]</a>&gt;<br>
Sent: Mon, Mar 21, 2011 5:26 pm<br>
Subject: Re: Restrict WMS operations<br>
<br>


<div id=AOLMsgPart_2_158c4a87-4597-49c1-9f8c-20bb031bd14b>On 11-03-21 1:01 PM, aznan wrote: 

<div class=shrinkable-quote><br>
&gt; Hi! <br>
&gt; I'm a new Mapserver user and I'm trying to figure out how to make my WMS <br>
&gt; server only accept GetCapabilities and GetMap requests. <br>
&gt; <br>
&gt; The documentation at <A href="http://mapserver.org/ogc/wms_server.html" rel="nofollow" target=_blank link="external">http://mapserver.org/ogc/wms_server.html</A>&nbsp;says that <br>
&gt; GetLegendGraphic requires a LEGEND object in the map file. I've been looking <br>
&gt; at the examples in the OGC workshop and I tried to remove LEGEND from <br>
&gt; config.map but GetLegendGraphic still shows up in the capabilities response <br>
&gt; and a request still returns the blue squiggly line and 'Rivers' image. I <br>
&gt; don't even know where to begin restricting GetFeatureInfo and the other <br>
&gt; operations. <br>
&gt; <br>
&gt; Please help! </div>
<br>
Hello, <br>
<br>
Regarding restricting WMS requests, take a look at the functionality <br>
that is upcoming in the MapServer 6.0 release: <br>
<A href="http://mapserver.org/development/rfc/ms-rfc-67.html" rel="nofollow" target=_blank link="external">http://mapserver.org/development/rfc/ms-rfc-67.html</A>&nbsp; You should be able <br>
to try this on your platform, as MapServer 6.0-beta2 was just released. <br>
<br>
-jeff <br>
<br>
<br>
<br>
-- <br>
Jeff McKenna <br>
MapServer Consulting and Training Services <br>
<A href="http://www.gatewaygeomatics.com/" rel="nofollow" target=_blank link="external">http://www.gatewaygeomatics.com/</A><br>
<br>
<br>
_______________________________________________ <br>
mapserver-users mailing list <br>
<A rel="nofollow" link="external" target="_top">[hidden email]</A> <br>
<A href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" rel="nofollow" target=_blank link="external">http://lists.osgeo.org/mailman/listinfo/mapserver-users</A><br>
<br>
<br>

<HR color=#cccccc SIZE=1 noShade>


<div style="FONT: 12px tahoma,geneva,helvetica,arial,sans-serif; COLOR: #444">

<div style="FONT-WEIGHT: bold">If you reply to this email, your message will be added to the discussion below:</div>
<A href="http://osgeo-org.1803224.n2.nabble.com/Restrict-WMS-operations-tp6192759p6192878.html?by-user=t" target=_blank rel="nofollow" link="external">http://osgeo-org.1803224.n2.nabble.com/Restrict-WMS-operations-tp6192759p6192878.html</A> </div>


<div style="MARGIN-TOP: 0.4em; FONT: 11px tahoma,geneva,helvetica,arial,sans-serif; COLOR: #666">
</div>
<!-- end of AOLMsgPart_2_158c4a87-4597-49c1-9f8c-20bb031bd14b --></div>
</font>

        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://osgeo-org.1803224.n2.nabble.com/Restrict-WMS-operations-tp6192759p6196343.html">Re: Restrict WMS operations</a><br/>
Sent from the <a href="http://osgeo-org.1803224.n2.nabble.com/Mapserver-User-f1969211.html">Mapserver - User mailing list archive</a> at Nabble.com.<br/>