Johan,<br><br>It is indeed not enabled by default and this flag hasn&#39;t been added to nmake.opt (this may be reported as a ticket which should be fixed).<br>If you are using the <a href="http://vbkto.dyndns.org/sdk/">build SDKs</a> I&#39;ve just added this flag to the builds (will be available in the next build tomorrow).<br>
<br><br>If you prefer to compile this by using the SDK packages just replace the row:<br><br><b>echo CURL=-DUSE_CURL &gt;&gt; $(OUTPUT_DIR)\mapserver.opt<br></b>with<br><b>echo CURL=-DUSE_CURL -DCURLOPT_PROXYAUTH &gt;&gt; $(OUTPUT_DIR)\mapserver.opt</b><br>
in the Makefile.<br><br>I hope that will help.<br><br>Best regards,<br><br>Tamas<br><br><br><br><br><div class="gmail_quote">2011/4/13 Hallgren Johan <span dir="ltr">&lt;<a href="mailto:Johan.Hallgren@sweco.se">Johan.Hallgren@sweco.se</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">









<div link="blue" vlink="purple" lang="SV">

<div>

<div>

<div>

<div>

<p class="MsoNormal"><span style="font-size:10.0pt;color:black">Hello</span></p>

<p class="MsoNormal"><span style="font-size:10.0pt;color:black"> </span></p>

<p class="MsoNormal"><span style="font-size:10.0pt;color:black" lang="EN-US">I have a strange problem…</span></p>

<p class="MsoNormal"><span style="font-size:10.0pt;color:black" lang="EN-US"> </span></p>

<p class="MsoNormal"><span style="font-size:10.0pt;color:black" lang="EN-US">I should use MapServer with Mapscript to call a WMS server as a
client. </span></p>

<p class="MsoNormal"><span style="font-size:10.0pt;color:black" lang="EN-US"> </span></p>

<p class="MsoNormal"><span style="font-size:10.0pt;color:black" lang="EN-US">I created a LAYER definition and after some struggle it went thru,
I get my map. I used the <i>shp2img</i> command to test the mapfile. Next step
was to test the mapfile with <i>drawmap</i> so the mapscript implementation was
tested and now an error showed up. </span></p>

<p class="MsoNormal"><span style="font-size:10.0pt" lang="EN-US">“CURLOPT_PROXYAUTH
not supported. Requires Curl 7.10.7”</span></p>

<p class="MsoNormal"><span style="font-size:10.0pt" lang="EN-US"> </span></p>

<p class="MsoNormal"><span style="font-size:10.0pt" lang="EN-US">I
expected that this error should show up already in the shp2img-test, but there
it worked fine. </span></p>

<p class="MsoNormal"><span style="font-size:10.0pt" lang="EN-US"> </span></p>

<p class="MsoNormal"><span style="font-size:10.0pt" lang="EN-US">Anyone
having a clue what’s wrong?</span></p>

<p class="MsoNormal"><span style="font-size:10.0pt" lang="EN-US"> </span></p>

<p class="MsoNormal"><span style="font-size:10.0pt" lang="EN-US">Here
is the error:</span><span style="font-size:10.0pt;color:black" lang="EN-US"></span></p>

<p class="MsoNormal"><span style="font-size:10.0pt;color:black" lang="EN-US">-----------------------------------------</span></p>

<p class="MsoNormal"><span style="font-size:10.0pt;color:black" lang="EN-US"> </span></p>

<p class="MsoNormal"><span style="font-size:10.0pt" lang="EN-US">Unhandled
Exception: System.ApplicationException: msHTTPExecuteRequests(): HTTP<br>
request error. CURLOPT_PROXYAUTH not supported. Requires Curl 7.10.7 and up.
*_p<br>
roxy_auth_type setting ignored.<br>
   at OSGeo.MapServer.mapObj.draw()<br>
   at DrawMap.Main(String[] args)<br>
GDAL: GDALDeregister_GTiff() called.</span></p>

<p class="MsoNormal"><span style="font-size:10.0pt" lang="EN-US">--------------------------------------- </span></p>

<p class="MsoNormal"><span style="font-size:10.0pt" lang="EN-US"> </span></p>

<p class="MsoNormal"><span style="font-size:10.0pt" lang="EN-US">…
and here is the layer definition.</span></p>

<p class="MsoNormal"><span style="font-size:10.0pt" lang="EN-US">--------------------------------------- </span></p>

<p class="MsoNormal"><span style="font-size:10.0pt" lang="EN-US"> LAYER<br>
  NAME &#39;WMS-Oversikt&#39;<br>
  TYPE RASTER<br>
  STATUS ON<br>
  CONNECTION &#39;</span><span style="font-size:10.0pt"><a href="http://maps.metria.se/geoserver/wms" target="_blank"><span lang="EN-US">http://maps.metria.se/geoserver/wms</span></a></span><span style="font-size:10.0pt" lang="EN-US">?&#39;<br>

  CONNECTIONTYPE WMS<br>
  METADATA<br>
    &#39;wms_srs&#39;   &#39;EPSG:2400&#39;<br>
    &#39;wms_name&#39;   &#39;anyname&#39;<br>
    &#39;wms_server_version&#39; &#39;1.1.1&#39;<br>
    &#39;wms_format&#39;  &#39;image/png&#39;<br>
    &#39;wms_auth_type&#39; &#39;basic&#39;<br>
    &#39;wms_auth_username&#39; &#39;xxx&#39;<br>
    &#39;wms_auth_password&#39; &#39;yyy&#39;<br>
    &#39;wms_proxy_type&#39; &#39;http&#39;</span></p>

<p class="MsoNormal"><span style="font-size:10.0pt" lang="EN-US">   
&#39;wms_proxy_host&#39; &#39;147.44.134.17&#39;<br>
    &#39;wms_proxy_port&#39; &#39;80&#39;   
&#39;wms_proxy_auth_type&#39; &#39;basic&#39;<br>
    &#39;wms_proxy_username&#39; &#39;zzz&#39;<br>
    &#39;wms_proxy_password&#39; &#39;yyy&#39;<br>
  END<br>
 END</span></p>

<p class="MsoNormal"><span style="font-size:10.0pt;color:black" lang="EN-US">------------------------------------------</span></p>

<p class="MsoNormal"><span style="font-size:10.0pt;color:black" lang="EN-US"> </span></p>

<p class="MsoNormal"><span style="font-size:10.0pt;color:black" lang="EN-US">Regards</span></p>

<p class="MsoNormal"><span style="font-size:10.0pt;color:black" lang="EN-US">Johan</span></p>

<div>

<div class="MsoNormal" style="text-align:center" align="center">

<hr style="color:#D70005" align="center" noshade size="1" width="100%">

</div>

<table style="width:450.0pt" border="0" cellpadding="0" cellspacing="0" width="600">
 <tbody><tr>
  <td style="width:150.0pt;padding:0cm 0cm 0cm 0cm" valign="top" width="200">
  <div>
  <p class="MsoNormal"><b><span style="font-size:8.0pt">Johan
  Hallgren</span></b><span style="font-size:8.0pt"></span></p>
  </div>
  <div>
  <p class="MsoNormal"><span style="font-size:7.0pt">Gruppchef
  <br>
  Telefon direkt 023-464 92 <br>
  Mobil 073-800 64 92 <br>
  <a href="mailto:johan.hallgren@sweco.se" target="_blank">johan.hallgren@sweco.se</a></span></p>
  </div>
  </td>
  <td style="width:150.0pt;padding:0cm 0cm 0cm 0cm" valign="top" width="200">
  <div>
  <p class="MsoNormal"><b><span style="font-size:8.0pt">Sweco
  Position AB</span></b><span style="font-size:8.0pt"></span></p>
  </div>
  <div>
  <p class="MsoNormal"><span style="font-size:7.0pt">Parkgatan
  3<br>
  Box 1902<br>
  791 19 Falun<br>
  Telefon 023-464 00<br>
  <a href="http://www.sweco.se" target="_blank">www.sweco.se</a></span></p>
  </div>
  </td>
  <td style="width:77.25pt;padding:0cm 0cm 0cm 0cm" valign="top" width="103">
  <div>
  <p class="MsoNormal"><span style="font-size:7.0pt"> </span></p>
  </div>
  <p class="MsoNormal" style="text-align:right" align="right"><span style="font-size:7.0pt"><br>
  <br>
  </span><span style="font-size:7.0pt"><img src="cid:image001.png@01CBF9EC.EB232C20" border="0" height="37" width="127"></span><span style="font-size:7.0pt"></span></p>
  </td>
 </tr>
</tbody></table>

<div>

<p class="MsoNormal"><span style="font-size:3.0pt;color:black"> </span></p>

</div>

<div>

<p class="MsoNormal"><span style="font-size:7.0pt;color:green"><img src="cid:image002.png@01CBF9EC.EB232C20" border="0" height="10" width="11"></span><span style="font-size:7.0pt;color:green" lang="EN-US">Please
consider the environment before printing my e-mail. </span></p>

</div>

<div>

<p class="MsoNormal"><span lang="EN-US"> </span></p>

</div>

</div>

</div>

</div>

</div>

</div>

</div>


<br>_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
<br></blockquote></div><br><div style="visibility: hidden; left: -5000px; position: absolute; z-index: 9999; padding: 0px; margin-left: 0px; margin-top: 0px; overflow: hidden; word-wrap: break-word; color: black; font-size: 10px; text-align: left; line-height: 130%;" id="avg_ls_inline_popup">
</div>