diff --git a/livesupport/modules/archiveServer/var/conf.php.template b/livesupport/modules/archiveServer/var/conf.php.template
new file mode 100644
index 000000000..067798a33
--- /dev/null
+++ b/livesupport/modules/archiveServer/var/conf.php.template
@@ -0,0 +1,116 @@
+
+ *
dsn datasource setting
+ * tblNamePrefix prefix for table names in the database
+ * authCookieName secret token cookie name
+ * storageDir main directory for storing binary media files
+ * bufferDir directory for temporary files
+ * transDir directory for incomplete transferred files
+ * accessDir directory for symlinks to accessed files
+ * isArchive local/central flag
+ * storageUrlPathpath-URL-part of storageServer base dir
+ * (on central archive side: storage=archive)
+ * storageXMLRPCXMLRPC server script address relative to storageUrlPath
+ * storageUrlHost, storageUrlPorthost and port of storageServer
+ * archiveUrlPathpath-URL-part of archiveServer base dir
+ * archiveXMLRPCXMLRPC server script address relative to archiveUrlPath
+ * archiveUrlHost, archiveUrlPorthost and port of archiveServer
+ *
+ */
+$config = array(
+ /* ================================================== basic configuration */
+ 'dsn' => array(
+ 'username' => 'ls_dbuser',
+ 'password' => 'ls_dbpassword',
+ 'hostspec' => 'ls_dbserver',
+ 'phptype' => 'pgsql',
+ 'database' => 'ls_database',
+ ),
+ 'tblNamePrefix' => 'as_',
+ 'authCookieName'=> 'assid',
+ 'StationPrefsGr'=> '',
+ 'AllGr' => 'All',
+ 'storageDir' => dirname(__FILE__).'/../../archiveServer/var/stor',
+ 'bufferDir' => dirname(__FILE__).'/../../archiveServer/var/stor/buffer',
+ 'transDir' => dirname(__FILE__).'/../../archiveServer/var/trans',
+ 'accessDir' => dirname(__FILE__).'/../../archiveServer/var/access',
+ 'isArchive' => TRUE,
+ 'validate' => TRUE,
+
+ /* ==================================================== URL configuration */
+ // on central archive side: archive is the storage !
+ 'storageUrlPath' => 'ls_storageUrlPath',
+ 'storageXMLRPC' => 'xmlrpc/xrArchive.php',
+ 'storageUrlHost' => 'ls_php_host',
+ 'storageUrlPort' => ls_php_port,
+ // have to be another remote archive:
+ #'archiveUrlPath' => 'ls_archiveUrlPath',
+ #'archiveXMLRPC' => 'xmlrpc/xrArchive.php',
+ #'archiveUrlHost' => 'ls_php_host',
+ #'archiveUrlPort' => ls_php_port,
+
+ /* ==================================== aplication-specific configuration */
+ 'objtypes' => array(
+ 'RootNode' => array('Folder'),
+ 'Storage' => array('Folder', 'File', 'Replica'),
+ 'Folder' => array('Folder', 'File', 'Replica'),
+ 'File' => array(),
+ 'audioclip' => array(),
+ 'playlist' => array(),
+ 'Replica' => array(),
+ ),
+ 'allowedActions'=> array(
+ 'RootNode' => array('classes', 'subjects'),
+ 'Folder' => array('editPrivs', 'write', 'read'),
+ 'File' => array('editPrivs', 'write', 'read'),
+ 'audioclip' => array('editPrivs', 'write', 'read'),
+ 'playlist' => array('editPrivs', 'write', 'read'),
+ 'Replica' => array('editPrivs', 'write', 'read'),
+ '_class' => array('editPrivs', 'write', 'read'),
+ ),
+ 'allActions' => array(
+ 'editPrivs', 'write', 'read', 'classes', 'subjects'
+ ),
+
+ /* ============================================== auxiliary configuration */
+ 'RootNode' => 'RootNode',
+ 'tmpRootPass' => 'q',
+);
+?>
diff --git a/livesupport/modules/storageServer/var/conf.php.template b/livesupport/modules/storageServer/var/conf.php.template
new file mode 100644
index 000000000..2d3439fc2
--- /dev/null
+++ b/livesupport/modules/storageServer/var/conf.php.template
@@ -0,0 +1,128 @@
+
+ * dsn datasource setting
+ * tblNamePrefix prefix for table names in the database
+ * authCookieName secret token cookie name
+ * StationPrefsGr name of station preferences group
+ * AllGr name of 'all users' group
+ * storageDir main directory for storing binary media files
+ * bufferDir directory for temporary files
+ * transDir directory for incomplete transferred files
+ * accessDir directory for symlinks to accessed files
+ * isArchive local/central flag
+ * validate enable/disable validator
+ * storageUrlPathpath-URL-part of storageServer base dir
+ * storageXMLRPCXMLRPC server script address relative to storageUrlPath
+ * storageUrlHost, storageUrlPorthost and port of storageServer
+ * archiveUrlPathpath-URL-part of archiveServer base dir
+ * archiveXMLRPCXMLRPC server script address relative to archiveUrlPath
+ * archiveUrlHost, archiveUrlPorthost and port of archiveServer
+ * archiveAccountLogin, archiveAccountPass account info
+ * for login to archive
+ *
+ */
+$config = array(
+ /* ================================================== basic configuration */
+ 'dsn' => array(
+ 'username' => 'ls_dbuser',
+ 'password' => 'ls_dbpassword',
+ 'hostspec' => 'ls_dbserver',
+ 'phptype' => 'pgsql',
+ 'database' => 'ls_database',
+ ),
+ 'tblNamePrefix' => 'ls_',
+ 'authCookieName'=> 'lssid',
+ 'StationPrefsGr'=> 'StationPrefs',
+ 'AllGr' => 'All',
+ 'storageDir' => dirname(__FILE__).'/../../storageServer/var/stor',
+ 'bufferDir' => dirname(__FILE__).'/../../storageServer/var/stor/buffer',
+ 'transDir' => dirname(__FILE__).'/../../storageServer/var/trans',
+ 'accessDir' => dirname(__FILE__).'/../../storageServer/var/access',
+ 'isArchive' => FALSE,
+ 'validate' => TRUE,
+
+ /* ==================================================== URL configuration */
+ 'storageUrlPath' => 'ls_storageUrlPath',
+ 'storageXMLRPC' => 'xmlrpc/xrLocStor.php',
+ 'storageUrlHost' => 'ls_php_host',
+ 'storageUrlPort' => ls_php_port,
+
+ /* ================================================ archive configuration */
+ 'archiveUrlPath' => 'ls_archiveUrlPath',
+ 'archiveXMLRPC' => 'xmlrpc/xrArchive.php',
+ 'archiveUrlHost' => 'ls_php_host',
+ 'archiveUrlPort' => ls_php_port,
+ 'archiveAccountLogin' => 'root',
+ 'archiveAccountPass' => 'q',
+
+ /* ============================================== scheduler configuration */
+ 'schedulerUrlPath' => 'ls_scheduler_urlPrefix',
+ 'schedulerXMLRPC' => 'ls_scheduler_xmlRpcPrefix',
+ 'schedulerUrlHost' => 'ls_scheduler_host',
+ 'schedulerUrlPort' => ls_scheduler_port,
+
+ /* ==================================== aplication-specific configuration */
+ 'objtypes' => array(
+ 'RootNode' => array('Folder'),
+ 'Storage' => array('Folder', 'File', 'Replica'),
+ 'Folder' => array('Folder', 'File', 'Replica'),
+ 'File' => array(),
+ 'audioclip' => array(),
+ 'playlist' => array(),
+ 'Replica' => array(),
+ ),
+ 'allowedActions'=> array(
+ 'RootNode' => array('classes', 'subjects'),
+ 'Folder' => array('editPrivs', 'write', 'read'),
+ 'File' => array('editPrivs', 'write', 'read'),
+ 'audioclip' => array('editPrivs', 'write', 'read'),
+ 'playlist' => array('editPrivs', 'write', 'read'),
+ 'Replica' => array('editPrivs', 'write', 'read'),
+ '_class' => array('editPrivs', 'write', 'read'),
+ ),
+ 'allActions' => array(
+ 'editPrivs', 'write', 'read', 'classes', 'subjects'
+ ),
+
+ /* ============================================== auxiliary configuration */
+ 'RootNode' => 'RootNode',
+ 'tmpRootPass' => 'q',
+);
+?>