From 22c3ba7430033220741cdd69c33961d0dd3f27ca Mon Sep 17 00:00:00 2001 From: crschmidt Date: Tue, 19 Sep 2006 00:52:57 +0000 Subject: [PATCH] Add world.freemap.in to proxy.cgi, so we can include a getfeatureinfo query in examples. git-svn-id: http://svn.openlayers.org/trunk/openlayers@1484 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- examples/getfeatureinfo.html | 48 ++++++++++++++++++++++++++++++++++++ examples/proxy.cgi | 2 +- 2 files changed, 49 insertions(+), 1 deletion(-) create mode 100644 examples/getfeatureinfo.html diff --git a/examples/getfeatureinfo.html b/examples/getfeatureinfo.html new file mode 100644 index 0000000000..d25687c3a9 --- /dev/null +++ b/examples/getfeatureinfo.html @@ -0,0 +1,48 @@ + + + + +World Map Query + + +
+
+

CIA Factbook

+

Click a country to see statistics about the country below.

+
+
+
+
+ + + diff --git a/examples/proxy.cgi b/examples/proxy.cgi index 8c4d2f4248..4e513c5188 100755 --- a/examples/proxy.cgi +++ b/examples/proxy.cgi @@ -20,7 +20,7 @@ url = fs.getvalue('url', "http://openlayers.org") # Designed to prevent Open Proxy type stuff. -allowedHosts = ['www.openlayers.org', 'openlayers.org', 'octo.metacarta.com', 'merrimack.metacarta.com', 'labs.metacarta.com'] +allowedHosts = ['www.openlayers.org', 'openlayers.org', 'octo.metacarta.com', 'merrimack.metacarta.com', 'labs.metacarta.com', 'world.freemap.in'] try: host = url.split("/")[2]