is your page served from localhost as well? that looks like a file url? On Thu, Dec 18, 2008 at 11:45 PM, Руслан Сорокин <[email protected]> wrote: > Hello openlayers users, > I am trying to get KML content from the local address like this: > ... > var kml = new OpenLayers.Layer.GML(lab, "http://localhost:4848/kml", > kml_ops ) > ... > In Safari on Mac OS X all is going well! > But in Firefox on Mac OS X I get this error message: > uncaught exception: [Exception... "Access to restricted URI denied" code: > "1012" nsresult: "0x805303f4 (NS_ERROR_DOM_BAD_URI)" location: > "file:///c:/OpenLayers-2.6/lib/OpenLayers/Ajax.js Line: 334"] > Few weeks ago all was working well also in Chrome on Windows. But now Chrome > give me "Access denied..". > Please, explain me what's going wrong? > Sincerely, > Ruslan Sorokin > [email protected] > > > > > _______________________________________________ > Users mailing list > [email protected] > http://openlayers.org/mailman/listinfo/users > >
-- Zac Spitzer - http://zacster.blogspot.com +61 405 847 168 _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
