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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Jul 7 05:04:35 PDT 2015


Author: armin11
Date: 2015-07-07 05:04:35 -0700 (Tue, 07 Jul 2015)
New Revision: 9240

Modified:
   trunk/mapbender/conf/mapbender.conf-dist
Log:
Enhancement for storage of search results in apc and option for defining a registrating group

Modified: trunk/mapbender/conf/mapbender.conf-dist
===================================================================
--- trunk/mapbender/conf/mapbender.conf-dist	2015-07-07 09:42:50 UTC (rev 9239)
+++ trunk/mapbender/conf/mapbender.conf-dist	2015-07-07 12:04:35 UTC (rev 9240)
@@ -33,6 +33,12 @@
 define("TMPDIR", "../tmp");
 
 # --------------------------------------------
+# absolute directory for temporary files - for use with external cms
+# --------------------------------------------
+
+define("ABSOLUTE_TMPDIR", "/data/mapbender/http/tmp");
+
+# --------------------------------------------
 # directory for log files
 # --------------------------------------------
 define("LOG_DIR", dirname(__FILE__) . "/../log/");
@@ -247,6 +253,11 @@
 define("PUBLIC_USER", "");
 
 # --------------------------------------------
+# define a special group for departments which are allowed to publish metadata in the mapbender geoportal framework 
+# --------------------------------------------
+#define("REGISTRATING_GROUP",36);
+
+# --------------------------------------------
 # Define a session name (useful for installations when more than one mapbender is installed on one server.
 # These installations won't share the session but will share probably one database. When the user switch from one
 # to another installation - and there are different session names - the configuration from the session will be forgotten. There is a new environment.)
@@ -273,6 +284,12 @@
 define("TMP_WMC_SAVE_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)
 define("TMP_WMC_MAX_AGE", "2400"); # Max age in seconds for temporal wmc before it will be deleted by e.g. a cronjob or by memcached itself
 
+# --------------------------------------------
+# define where to store temporary search results from searchInterface.
+# --------------------------------------------
+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
+
 #---------------------------------------------
 # 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!



More information about the Mapbender_commits mailing list