Hi lan, I just resolved this problem. Thanks for your help.
Genhan On Thu, Nov 11, 2010 at 5:37 PM, Genhan Chen <[email protected]> wrote: > Hi lan, > > I did not hit your server. All the services are provided by my own server. > In my case, I did following things to resolve proxy problem > > 1) Configured Python support for IIS > > 2) Copied *proxy.cgi* (in *...\OpenLayer\examples*) into my *"wwwroot\"*and > changed it as > *porxy.py* > > 3) Changed the first line of *proxy.py* as* "#!C:/Python25/python.exe -u"*and > added ' > *localhost:8888*' into *allowedHosts* > > 4) In my *overlay2.htm*, *"OpenLayers.ProxyHost= "/proxy.py?url=;" *has > been added into *init()* for proxy support > > However, it does not work. I do not understand what happened. > > Really thanks, > > Genhan > > > > On Thu, Nov 11, 2010 at 3:17 PM, Ian Turton [via OSGeo.org] < > [email protected]<ml-node%[email protected]> > > wrote: > >> On Thu, Nov 11, 2010 at 3:16 PM, Genhan Chen <[hidden >> email]<http://user/SendEmail.jtp?type=node&node=5730492&i=0>> >> wrote: >> > Hello lan. >> > >> > WFS layer does not show up in my server (IIS), even if I use the same >> code >> > as you used. You can check this link: http://72.215.195.71/overlay2.htm >> > >> > Do you know why? >> > >> >> You'll need to readd the proxy url line if you are trying to hit my >> server - it's a cross domain security thing. You will also need a >> proxy if you serve your web pages from a different location than >> geoserver. >> >> Ian >> >> -- >> Ian Turton >> _______________________________________________ >> Users mailing list >> [hidden email] <http://user/SendEmail.jtp?type=node&node=5730492&i=1> >> http://lists.osgeo.org/mailman/listinfo/openlayers-users >> >> >> ------------------------------ >> View message @ >> http://osgeo-org.1803224.n2.nabble.com/WFS-Layer-tp5447310p5730492.html >> To unsubscribe from WFS Layer, click >> here<http://osgeo-org.1803224.n2.nabble.com/template/TplServlet.jtp?tpl=unsubscribe_by_code&node=5447310&code=Zy5jLmNoZW4ubWFjQGdtYWlsLmNvbXw1NDQ3MzEwfC0yMDM3NzEzNzgy>. >> >> >> > -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/WFS-Layer-tp5447310p5733161.html Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
