[Mapbender-commits] r10239 - trunk/mapbender/conf

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Thu Sep 12 01:51:11 PDT 2019


Author: armin11
Date: 2019-09-12 01:51:10 -0700 (Thu, 12 Sep 2019)
New Revision: 10239

Modified:
   trunk/mapbender/conf/linkedDataProxy.json
   trunk/mapbender/conf/mapbender.conf-dist
Log:
New config option support restapi for linkeddataproxy

Modified: trunk/mapbender/conf/linkedDataProxy.json
===================================================================
--- trunk/mapbender/conf/linkedDataProxy.json	2019-09-10 09:45:25 UTC (rev 10238)
+++ trunk/mapbender/conf/linkedDataProxy.json	2019-09-12 08:51:10 UTC (rev 10239)
@@ -11,5 +11,7 @@
   "default_pages": 10,
   "allowed_limits": ["1","5","10","20","50","100","200","500"],
   "initial_bbox": [48, 6, 51, 9],
-  "map_position": "below_filter"
+  "map_position": "below_filter",
+  "behind_rewrite": false,
+  "rewrite_path": "spatial-objects"
 }

Modified: trunk/mapbender/conf/mapbender.conf-dist
===================================================================
--- trunk/mapbender/conf/mapbender.conf-dist	2019-09-10 09:45:25 UTC (rev 10238)
+++ trunk/mapbender/conf/mapbender.conf-dist	2019-09-12 08:51:10 UTC (rev 10239)
@@ -346,6 +346,11 @@
 define("TMP_SEARCH_RESULT_STORAGE", "file"); #memcached, memcache, #session - not yet implemented, file, cache (apc - thru class_cache.php - there is no possibility to delete those elements when using apc) at this time 2015-06 only apc is possible for storing - there are some problems when using memcached!
 define("TMP_SEARCH_RESULT_MAX_AGE", "2400"); # Max age in seconds for temporal results before they will be deleted by e.g. a cronjob or by memcached / apc itself
 
+# --------------------------------------------
+# define if csw capabilities documents should be cached for csw client interface - faster when resolving coupled resources (new 2019-09)
+# --------------------------------------------
+define("CACHE_CSW_CAPS", false);
+
 #---------------------------------------------
 # HOSTNAME WHITELIST
 # The whitelist is used for some modules who generate urls from a given hostName GET parameter. In such a case it is usefull to give a whitelist for security reasons! If no hostName is given, the parameter $_SERVER['HTTP_HOST'] is used for the urls!
@@ -381,6 +386,15 @@
 #define("WRAPPER_PATH","");
 
 # --------------------------------------------
+# define linked data proxy handling
+# --------------------------------------------
+# configuration done in linkedDataProxy.json!
+# for using the rest api a apache rewrite rule si needed!!!
+# example: - the uri path "spatial-objects" must match the "rewrite_path" string defined in linkedDataProxy.json
+#  RewriteRule ^/spatial-objects/(.*)$ mapbender/php/mod_linkedDataProxy.php?api=$1 [P,QSA,NC,L]
+
+
+# --------------------------------------------
 # define if mapbender is already integrated in new django portal 
 # --------------------------------------------
 #define("DJANGO_PORTAL", true);



More information about the Mapbender_commits mailing list