<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi,<br>
<br>
Edit the file and see if the host you're accessing is in the array
"allowedHosts".<br>
<br>
Regards,<br>
<br>
Alexandre<br>
<br>
<br>
On 10-10-17 12:21 AM, Mohammed Rashad wrote:
<blockquote
cite="mid:AANLkTinrxnzgH13s15c1jq5M54_2CLNbrD+UUg496+w7@mail.gmail.com"
type="cite">
<meta http-equiv="content-type"
content="text/html; charset=ISO-8859-1">
<span class="Apple-style-span"
style="font-family: arial,sans-serif; font-size: 13px; border-collapse: collapse;">
<div>How to set ProxyHost.</div>
<div>I had downloaded the proxy.cgi from openlayers trac and
without no modification i copied it to /usr/lib/cgi-bin/proxy.cgi</div>
<div><br>
</div>
<div>I am behind a proxy and <a moz-do-not-send="true"
href="http://proxy.rashadkm.in" target="_blank"
style="color: rgb(0, 0, 204);">http://proxy.rashadkm.in</a> port=8080</div>
<div><br>
</div>
<div>How to set the proxy if i am behind the above proxy.</div>
<div><font class="Apple-style-span" face="monospace"><span
class="Apple-style-span"
style="white-space: pre-wrap; font-size: large;"><font
class="Apple-style-span" face="arial, sans-serif" size="3"><span
class="Apple-style-span" style="font-size: 13px; white-space: normal;"><br>
</span></font></span></font></div>
<div> OpenLayers.ProxyHost = "/cgi-bin/proxy.cgi?url=";</div>
<div> </div>
<div>
<div><br>
</div>
</div>
<div>my firebug output was</div>
<div>
<div>Access to restricted URI denied" code: "1012</div>
<div><a moz-do-not-send="true"
href="http://openlayers.org/api/OpenLayers.js" target="_blank"
style="color: rgb(0, 0, 204);">http://openlayers.org/api/OpenLayers.js</a></div>
<div>Line 1188</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>What is wrong? . Please correct me if I am wrong.</div>
<div><br>
</div>
<div>Anyone please help</div>
<div><br>
</div>
</span><br>
-- <br>
Rashad<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Dev@lists.osgeo.org">Dev@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/openlayers-dev">http://lists.osgeo.org/mailman/listinfo/openlayers-dev</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Alexandre Dubé
Mapgears
<a class="moz-txt-link-abbreviated" href="http://www.mapgears.com">www.mapgears.com</a>
</pre>
</body>
</html>