2008/11/21 kuba <[EMAIL PROTECTED]>: > thanks it worked. Sometimes the most easiest Solutions come the last. But i > have the problem that i had when i was checking out GetInfo Example. When i > wanna get info about the polygon i got following error: > > Access to restricted URI denied" code: "1012 > [Break on this error] this._object.open(sMethod, sUrl, bAsync, sUser, > sPassword); > what do I have to change to make it run smoothly. I have just copied the > code of preview site to my own html file. Everything works except the get > info table. The is something wrong with > > OpenLayers.loadURL("http://localhost:8080/geoserver/wms", params, this, > setHTML, setHTML); >
You need a proxy if your page is served from a different machine (or just url) than your WMS - see http://trac.openlayers.org/wiki/FrequentlyAskedQuestions#ProxyHost Ian _______________________________________________ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users