<div dir="ltr">checking my access_log did the job for denied specific ip (i was using a wrong public ip).<div><br></div><div>but it didnt worked for "*" neither "all" </div><div><br></div><div>but hey, specific ip works for me.</div><div><br></div><div>Thanks!!</div><div><br></div><div>:)</div><div><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr">Vladimiro Bellini __<br><font face="'courier new', monospace">\ /| _ _|. _ . _ |__) _||. _ .</font></div></div></div>
<br><div class="gmail_quote">2015-04-23 11:22 GMT-03:00 <span dir="ltr"><<a href="mailto:Steve.Toutant@inspq.qc.ca" target="_blank">Steve.Toutant@inspq.qc.ca</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><font size="2" face="sans-serif">Anything in your mapserver log? perhaps
there is another problem in your mapfile</font>
<br>
<p>
<br>
<br>
<br>
</p><p></p><table width="100%" style="border-collapse:collapse">
<tbody><tr valign="top" height="8">
<td width="40%" style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px"><font size="1" face="sans-serif"><b>Vladimiro
Bellini <<a href="mailto:vlasvlasvlas@gmail.com" target="_blank">vlasvlasvlas@gmail.com</a>></b> </font>
<p><font size="1" face="sans-serif">2015-04-23 10:06</font>
</p></td><td width="59%" style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px">
<table width="100%" style="border-collapse:collapse">
<tbody><tr valign="top" height="21">
<td width="57" style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px">
<div align="right"><font size="1" face="sans-serif">A</font></div>
</td><td style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px"><font size="1" face="sans-serif"><a href="mailto:Steve.Toutant@inspq.qc.ca" target="_blank">Steve.Toutant@inspq.qc.ca</a></font>
</td></tr><tr valign="top" height="21">
<td width="57" style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px">
<div align="right"><font size="1" face="sans-serif">cc</font></div>
</td><td style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px"><font size="1" face="sans-serif">mapserver-users
<<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a>>, <a href="mailto:mapserver-users-bounces@lists.osgeo.org" target="_blank">mapserver-users-bounces@lists.osgeo.org</a></font>
</td></tr><tr valign="top" height="21">
<td width="57" style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px">
<div align="right"><font size="1" face="sans-serif">Objet</font></div>
</td><td style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px"><font size="1" face="sans-serif">Re:
RE [mapserver-users] ows_allowed_ip_list / ows_denied_ip_list not working</font></td></tr></tbody></table>
<br>
<table width="393" style="border-collapse:collapse">
<tbody><tr valign="top" height="8">
<td width="57" style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px">
</td><td width="336" style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px"></td></tr></tbody></table>
<br></td></tr></tbody></table>
<br>
<br>
<br>
<br>
<br><font size="3">Hi, i tried "all" and my ip, but i got the same
result.. what could it be?</font>
<br>
<br><font size="3">here's my full metadata (header metadata of mapfile, not
in layers)</font>
<br>
<br><font size="3"><b>METADATA</b></font>
<br><font size="3"><b>"ows_denied_ip_list" "all" </b></font>
<br><font size="3"><b>"wms_service_onlineresource" "</b></font><a href="http://xxxxxxxxxxxx/cgi-bin/mapserv6?map=/xxxxxxxxxxxx/mapase.map" target="_blank"><font size="3" color="blue"><b><u>http://xxxxxxxxxxxx/cgi-bin/mapserv6?map=/xxxxxxxxxxxx/mapase.map</u></b></font></a><font size="3"><b>"</b></font>
<br><font size="3"><b>"ows_onlineresource" "</b></font><a href="http://xxxxxxxxxxxx/cgi-bin/mapserv6?map=/xxxxxxxxxxxx/mapase.map" target="_blank"><font size="3" color="blue"><b><u>http://xxxxxxxxxxxx/cgi-bin/mapserv6?map=/xxxxxxxxxxxx/mapase.map</u></b></font></a><font size="3"><b>"</b></font>
<br><font size="3"><b>"wms_title" "Mapa" </b></font>
<br><font size="3"><b>"wms_abstract" "Capas"</b></font>
<br><font size="3"><b>"wms_srs" "EPSG:4326 EPSG:900913 EPSG:3857
EPSG:4694 EPSG:4928 EPSG:4929 EPSG:22181 EPSG:22182 EPSG:22183
EPSG:22184 EPSG:22185 EPSG:22186 EPSG:22187"</b></font>
<br><font size="3"><b>"wms_onlineresource" "</b></font><a href="http://xxxxxxxxxxxx/cgi-bin/mapserv6?map=/xxxxxxxxxxxx/mapase.map" target="_blank"><font size="3" color="blue"><b><u>http://xxxxxxxxxxxx/cgi-bin/mapserv6?map=/xxxxxxxxxxxx/mapase.map</u></b></font></a><font size="3"><b>"</b></font>
<br><font size="3"><b>"wms_enable_request" "GetCapabilities
GetMap GetLegendGraphic GetFeatureInfo"</b></font>
<br><font size="3"><b>"wfs_enable_request" "!*"</b></font>
<br><font size="3"><b>"wms_server_version" "1.1.1"</b></font>
<br><font size="3"><b>"wms_feature_info_mime_type" "text/html" </b></font>
<br><font size="3"><b>"wms_include_items" "all"</b></font>
<br><font size="3"><b>"gml_include_items" "all"</b></font>
<br><font size="3"><b>"wms_contactelectronicmailaddress" "xxxxxxxxxxxx@xxxxxxxxxxxx.xxx.xx"</b></font>
<br><font size="3"><b>END</b></font>
<br>
<br>
<br><font size="3">and here's my layer metadata:</font>
<br>
<br><font size="3"><b>METADATA "wms_title" "Concesiones de
Distribuidoras electricas" "wms_extent" "-73,566078
-55,057765 -53,635586 -21,778191" "gml_include_items" "all"
"gml_featureid" "gid" "wms_feature_info_mime_type"
"text/html" "wms_server_version" "1.1.1"
"wms_include_items" "all" "wms_srs" "EPSG:4326"
END</b></font>
<br>
<br>
<br><font size="3">is there any other problem? i can still see my png when
i do a GetMap request.. :(</font>
<br>
<br><font size="3">thanks a lot.</font>
<br><font size="3">Vladimiro.</font>
<br>
<br>
<br>
<br>
<br><font size="3">Vladimiro Bellini
__</font><tt><font size="3"><br>
\ /| _ _|. _ . _ |__) _||. _ .</font></tt>
<br>
<br><font size="3">2015-04-23 10:37 GMT-03:00 <</font><a href="mailto:Steve.Toutant@inspq.qc.ca" target="_blank"><font size="3" color="blue"><u>Steve.Toutant@inspq.qc.ca</u></font></a><font size="3">>:</font>
<br><font size="2" face="sans-serif">Does this works</font><font size="3">
</font><font size="3" color="#2f2f2f" face="Liberation Mono"><br>
"ows_denied_ip_list" "all"</font><font size="3"> <br>
</font><font size="2" face="sans-serif"><br>
or</font><font size="3"> </font><font size="3" color="#2f2f2f" face="Liberation Mono"><br>
"ows_denied_ip_list" "youripaddress"</font><font size="3">
</font>
<p><font size="3"><br>
<br>
</font>
</p><p>
</p><p></p><table width="100%" style="border-collapse:collapse">
<tbody><tr valign="top" height="8">
<td width="42%" style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:1px 1px"><font size="1" face="sans-serif"><b>Vladimiro
Bellini <</b></font><a href="mailto:vlasvlasvlas@gmail.com" target="_blank"><font size="1" color="blue" face="sans-serif"><b><u>vlasvlasvlas@gmail.com</u></b></font></a><font size="1" face="sans-serif"><b>>@</b></font><a href="http://lists.osgeo.org/" target="_blank"><font size="1" color="blue" face="sans-serif"><b><u>lists.osgeo.org</u></b></font></a><font size="1" face="sans-serif">
<br>
Envoyé par : </font><a href="mailto:mapserver-users-bounces@lists.osgeo.org" target="_blank"><font size="1" color="blue" face="sans-serif"><u>mapserver-users-bounces@lists.osgeo.org</u></font></a><font size="3">
</font>
<p><font size="1" face="sans-serif">2015-04-23 09:33</font><font size="3">
</font>
</p></td><td width="57%" style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:1px 1px">
<br>
<table width="100%" style="border-collapse:collapse">
<tbody><tr valign="top" height="8">
<td width="12%" style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:1px 1px">
<div align="right"><font size="1" face="sans-serif">A</font></div>
</td><td width="87%" style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:1px 1px"><a href="mailto:mapserver-users@lists.osgeo.org" target="_blank"><font size="1" color="blue" face="sans-serif"><u>mapserver-users@lists.osgeo.org</u></font></a><font size="3">
</font>
</td></tr><tr valign="top" height="8">
<td style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:1px 1px">
<div align="right"><font size="1" face="sans-serif">cc</font></div>
</td><td style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:1px 1px">
</td></tr><tr valign="top" height="8">
<td style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:1px 1px">
<div align="right"><font size="1" face="sans-serif">Objet</font></div>
</td><td style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:1px 1px"><font size="1" face="sans-serif">[mapserver-users]
ows_allowed_ip_list / ows_denied_ip_list not working</font></td></tr></tbody></table>
<br>
<br>
<table width="393" style="border-collapse:collapse">
<tbody><tr valign="top" height="8">
<td width="56" style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:1px 1px">
</td><td width="332" style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:1px 1px"></td></tr></tbody></table>
<br></td></tr></tbody></table>
<br><font size="3"><br>
<br>
<br>
<br>
</font><font size="2" color="#2f2f2f" face="Arial"><br>
Hi.</font><font size="3"> </font><font size="2" color="#2f2f2f" face="Arial"><br>
i was testing "ows_denied_ip_list" or allowed ip list on my 6.4.1
mapserver and it does not work at all.</font><font size="3"> </font><font size="3" color="#2f2f2f" face="Liberation Mono"><br>
./mapserv -v<br>
MapServer version 6.4.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=KML SUPPORTS=PROJ
SUPPORTS=GD SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=ICONV SUPPORTS=WMS_SERVER
SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER
SUPPORTS=SOS_SERVER SUPPORTS=GEOS INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL
INPUT=SHAPEFILE<br>
</font><font size="3"><br>
</font><font size="3" color="#2f2f2f" face="Liberation Mono"><br>
<br>
METADATA<br>
#inside top mapfile metadata<br>
<br>
"ows_denied_ip_list" "*"<br>
#(other metadata..)<br>
END<br>
</font><font size="3"><br>
</font><font size="2" color="#2f2f2f" face="Arial"><br>
even blocking "*" (all ip's) it doesnt work,</font><font size="3">
</font><font size="2" color="#2f2f2f" face="Arial"><br>
i always receive a GetMap response using wms<br>
..</font><font size="3"> </font><font size="2" color="#2f2f2f" face="Arial"><br>
i can still see my request (cgi-bin,wms,getmap, see the full png, no denied
at all...) why?</font><font size="3"> </font><font size="2" color="#2f2f2f" face="Arial"><br>
:S</font><font size="3"> <br>
</font><font size="2" color="#2f2f2f" face="Arial"><br>
Thanks,</font><font size="3"> <br>
</font><font size="2" color="#2f2f2f" face="Arial"><br>
Vladimiro Bellini</font><tt><font size="2">_______________________________________________<br>
mapserver-users mailing list</font></tt><tt><font size="2" color="blue"><u><br>
</u></font></tt><a href="mailto:mapserver-users@lists.osgeo.org" target="_blank"><tt><font size="2" color="blue"><u>mapserver-users@lists.osgeo.org</u></font></tt></a><font size="3" color="blue"><u><br>
</u></font><a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank"><tt><font size="2" color="blue"><u>http://lists.osgeo.org/mailman/listinfo/mapserver-users</u></font></tt></a><font size="3">
<br>
<br>
</font>
<p>
<br>
<br>
<br></p><p></p><p></p><p></p></blockquote></div><br></div>