diff --git a/examples/LayerSwitcher.html b/examples/LayerSwitcher.html index d66c45a7d5..e687993f75 100644 --- a/examples/LayerSwitcher.html +++ b/examples/LayerSwitcher.html @@ -18,6 +18,7 @@ var zoom = 5; var map, layer, glayer; + OpenLayers.ProxyHost = "/proxy/?url="; function init(){ map = new OpenLayers.Map( $('map') ); layer = new OpenLayers.Layer.WMS( "OpenLayers WMS", diff --git a/examples/georss.html b/examples/georss.html index fc1d083357..8a5ebb0c12 100644 --- a/examples/georss.html +++ b/examples/georss.html @@ -13,6 +13,7 @@ diff --git a/lib/OpenLayers/Ajax.js b/lib/OpenLayers/Ajax.js index f8a04b3df9..565cfe895d 100644 --- a/lib/OpenLayers/Ajax.js +++ b/lib/OpenLayers/Ajax.js @@ -2,7 +2,7 @@ * See http://svn.openlayers.org/trunk/openlayers/license.txt for the full * text of the license. */ -OpenLayers.ProxyHost = "/proxy/?url="; +OpenLayers.ProxyHost = ""; //OpenLayers.ProxyHost = "examples/proxy.cgi?url="; /** @@ -105,4 +105,4 @@ OpenLayers.parseXMLString = function(text) { ); return ajaxResponse; -}; \ No newline at end of file +};