<br><font size=2 face="sans-serif">Hi,</font>
<br><font size=2 face="sans-serif">I'm using WMSGetFeatureInfo to query
a specific layer. The information is retrieved from the same server/domain
where the application and mapserver are installed.</font>
<br><font size=2 face="sans-serif">The answer I get is &quot;The requested
URL /cgi-bin/proxy.cgi was not found on this server.&quot;</font>
<br><font size=2 face="sans-serif">I read this http://faq.openlayers.org/proxyhost/all/</font>
<br><font size=2 face="sans-serif">and I already set a proxy on another
server for another project.</font>
<br>
<br><font size=2 face="sans-serif">But in this case my understanding was
that I don't need a proxy since I'm not querying a remote server. I can't
see why my code is requesting /cgi-bin/proxy. It should call directly cgi-bin/mapserver?
isn'it?</font>
<br>
<br><font size=2 face="sans-serif">Here is my code</font>
<br><font size=2 face="sans-serif">infoControls = </font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; {</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
click: new OpenLayers.Control.WMSGetFeatureInfo({</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; //url: 'http://IP address/cgi-bin/mapserv.exe?map=/ms4w/paccSante/map/paccsante_hlm.map&amp;',
</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; maxFeatures: 12,</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; title: 'Identify features by clicking',</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; layers: [overlays['HLM']],</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; queryVisible: true,</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; infoFormat:'text/html'</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
})</font>
<br><font size=2 face="sans-serif">}</font>
<br><font size=2 face="sans-serif">infoControls['click'].events.register(&quot;getfeatureinfo&quot;,
this, showInfo);</font>
<br><font size=2 face="sans-serif">map.addControl(infoControls['click']);</font>
<br><font size=2 face="sans-serif">infoControls['click'].activate();</font>
<br>
<br><font size=2 face="sans-serif">If I uncomment the url parameter I got
the same result.</font>
<br><font size=2 face="sans-serif">What could be the reason why it is looking
for a proxy?</font>
<br><font size=2 face="sans-serif">This line IS NOT in my code</font>
<br><font size=2 face="sans-serif">OpenLayers.ProxyHost = &quot;/cgi-bin/proxy.cgi?url=&quot;;</font>
<br>
<br>
<br><font size=2 face="sans-serif">thanks</font>
<br><font size=2 face="sans-serif">Steve</font>
<br>