<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hello,<div>I am new to OpenLayers. I have made a Feature Set in GeoServer and when I click on Demo and show my map it downloads a KMZ file. I am not sure if this is correct but I can view it in Google Earth just fine. </div><div><br></div><div>I am trying to serve a KML file from GeoServer but in FireBug I see: </div><div><b>Access to restricted URI denied" code: "1012</b></div><div><br></div><div>How do I configure OpenLayers prox.cgi to make things work?</div><div><br></div><div>This is the OpenLayers code:</div><div><br></div><div><div>map.addLayer(new OpenLayers.Layer.GML("KML", "<a href="http://naturkart.no:8080/geoserver/wms/kml?layers=kulturminner_ns:gravminne">http://naturkart.no:8080/geoserver/wms/kml?layers=kulturminner_ns:gravminne</a>", </div><div> {</div><div> format: OpenLayers.Format.KML, </div><div> formatOptions: {</div><div> extractStyles: true, </div><div> extractAttributes: true</div><div> }</div><div> }));</div><div><br></div><div>Thanks for any advice!</div><div><br></div><div>/asle</div></div></body></html>