-
Notifications
You must be signed in to change notification settings - Fork 7
/
config.php.default
72 lines (66 loc) · 2.38 KB
/
config.php.default
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<?php
$trustedURLS=array(
"https://geoservices.knmi.nl",
"http://data.ncof.co.uk:8080/ncWMS/wms?",
"http://gdsc.nlr.nl/wms/aster_all?",
"http://demo.deegree.org/deegree-wms/services?",
"http://ogcie.iblsoft.com/",
"https://ogcie.iblsoft.com/",
"http://inws.wrh.noaa.gov/geoserver/ows?",
"http://gis.srh.noaa.gov/ArcGIS/services",
"http://130.37.78.12/",
"http://geodata.rivm.nl/",
"http://rocky.umeoce.maine.edu/",
"http://www2.demis.nl/",
"http://behemoth.nerc-essc.ac.uk/",
"http://bhlbontw.knmi.nl",
"http://webgis.nmdc.eu",
"https://geoservices.knmi.nl",
"http://wms.met.no/",
"http://synopsis1.meteo.fr",
"http://www.dinoservices.nl",
"http://webgis.nmdc.eu/",
"http://www.cgi.wur.nl/",
"http://cib.knmi.nl/",
"http://msgcpp-ogc-realtime.knmi.nl",
"http://msgcpp-ogc-archive.knmi.nl",
"http://bvmlab-218-41.knmi.nl",
"http://bhw222.knmi.nl",
"http://eca.knmi.nl",
"http://bvlogc.knmi.nl",
"http://cib-dev.knmi.nl/cgi-bin/euro4m_ogc.cgi?",
"http://wrep.ecmwf.int",
"http://mapsrv.ubvu.vu.nl",
"http://cib.knmi.nl",
"http://cib-dev.knmi.nl",
"http://bvmlab-218-59.knmi.nl",
"http://bvmlab-218-51.knmi.nl",
"http://bhlkdcdev.knmi.nl/",
"http://bhlkdcpxydev.knmi.nl/",
"http://birdexp03.knmi.nl/",
"http://globemission.eu/",
"http://46.137.45.124/",
"http://bvlogc.knmi.nl/",
"http://bvlogc/",
"http://demo.mapserver.org/",
"http://birdexp03",
"http://145.100.58.53",
"http://localhost",
"http://climate4impact.eu/",
"http://bvlwws.knmi.nl/",
"http://suite.opengeo.org/",
"http://birdexp02.knmi.nl/",
"http://www.ecad.eu/",
"http://bhlgsie01.knmi.nl/",
"http://bhw512.knmi.nl"
);
function replaceHostName($url){
// Some firewalls do not allow to request data from their own server. In this case the hostname should be changed to localhost
//$HOSTNAME=gethostbyaddr (gethostbyname ($_SERVER["SERVER_NAME"]));
//$url = str_replace($HOSTNAME,"localhost", $url);
//$url = str_replace("https://data.knmi.nl/wms","http://kdc-preview.knmi.nl:8380",$url);
//$url = str_replace("http://data.knmi.nl/wms","http://kdc-preview.knmi.nl:8380", $url);
$url = str_replace("cib-dev.knmi.nl","bvle4m02", $url);
return $url;
}
/*--- Now new line at the end of this file allowed --- */?>