AW: [OpenLayers-Users] How to configure Proxy.cgi with IIS
Arnd Wippermann
arnd.wippermann at web.de
Tue Mar 15 15:25:37 EDT 2011
If your page and your wfs server comes from the same domain like
Page : http://172.20.100.13/Myapp/layers.aspx
Url of WFS : http://172.20.100.13/Myapp/wfsserver?...
, then you need no proxy script for wfs requests.
To display WMS layers you don't need any proxy, there is no cross-domain
problem.
That the page doesn't show your layers, have to be some other reason.
Only if you request for a wfs service from an other domain then the page
like http://172.20.100.13:8080/Myapp/wfsserver? (port added)
or
http://myServerByName/Myapp/wfsserver? (name instead of ip)
, then you need a proxy.
The easiest way to understand the cross-domain problem is to use relative
urls. If you can't use a relative url to request a wfs service (also for
vector layers as KML or GML), then you need a proxy.
Arnd
-----Ursprüngliche Nachricht-----
Von: openlayers-users-bounces at lists.osgeo.org
[mailto:openlayers-users-bounces at lists.osgeo.org] Im Auftrag von Mustafa646
Gesendet: Dienstag, 15. März 2011 18:00
An: users at openlayers.org
Betreff: [OpenLayers-Users] How to configure Proxy.cgi with IIS
I installed GeoServer on server 172.20.100.13 and i also publish my
OpenLayers application on same server. when i make the request to this
server for accessing the page like,
(http://172.20.100.13/Myapp/layers.aspx), then WMS and WFS Layers does not
display over Google Map. But the same application with geoserver installed
on localhost works fine.
As i understand from different forums, I need to configure Proxy.cgi with
IIS to fix this problem and then use it as:
Openlayers.ProxyHost = "/cgi-bin/proxy.py?url"
I want to know, Am i right or wrong in my understanding OR i am making a
mistake.
If i am right, Then can anybody please tell me how i configure Proxy.cgi
with IIS ? If some usefuk link available to fix this, then it will be very
good for me.
--
View this message in context:
http://osgeo-org.1803224.n2.nabble.com/How-to-configure-Proxy-cgi-with-IIS-t
p6173500p6173500.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
Users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-users
More information about the Users
mailing list