[OpenLayers-Users] Re: WFS Layer

Cecily g.c.chen.mac at gmail.com
Tue Apr 12 14:09:24 EDT 2011


Sarah,

Four steps to set up proxy:

1) Configured Python support for IIS

2) Copied *proxy.cgi* (in *...\OpenLayer\examples*) into my *"wwwroot\"* and
changed it as *porxy.py*

3) Change the first line of *proxy.py* as* "#!C:/Python25/python.exe
-u"*and add '
*localhost:8888*' (you might use different one) into *allowedHosts*

4) Add *"OpenLayers.ProxyHost= "/proxy.py?url=;" * into your html file

*Actually, if you open your program using IE, it might work without setting
any additional proxy.*

Thanks,

Genhan

On Tue, Apr 12, 2011 at 4:26 AM, Sarah_S [via OSGeo.org] <
ml-node+6264761-145950243-61371 at n2.nabble.com> wrote:

> Genhan, how did you solved this?
> I´m having troubles with my proxy.
>
> Thanks
> Sarah
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
> http://osgeo-org.1803224.n2.nabble.com/WFS-Layer-tp5447310p6264761.html
>  To unsubscribe from WFS Layer, click here<http://osgeo-org.1803224.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5447310&code=Zy5jLmNoZW4ubWFjQGdtYWlsLmNvbXw1NDQ3MzEwfC0yMDM3NzEzNzgy>.
>
>


--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/WFS-Layer-tp5447310p6266138.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20110412/e0ade054/attachment.html


More information about the Users mailing list