changes to the changes
[mir.git] / source / config.properties-dist
index 5a5459e..6bcd8e0 100755 (executable)
 #
+# Sample config for Mir
+# by Matthias <mjordan@code-fu.de> 2001-09-12
+#  
+# The Mir software realizes a semi-dynamic web service:
+# The web server that is accessed by users has pure static
+# pages. These pages are generated by the Mir software that
+# consists of a collection of Java servlets and HTML templates.
+# Mir uses a database server to store the data that is needed to
+# build the static site.
+# So there are basically three parts in this config file:
+# 
+# a) general setup
+# b) static site config
+# c) dynamic admin site
+# d) database config
+# 
 # edit this to suit your needs (here with sampleuser idfx)
+# After you edited this file, build.sh has to be invoked.
+# To be sure, also restart Tomcat.
+# 
+# Note that for Mir to work, Tomcat has to be set up to handle all
+# URLs that begin with /servlet. All other URLs are handled by Apache.
 
-Home=/var/work/idfx/Indy/
-HTMLTemplateProcessor.ActionRoot=/idfx/servlet/Mir
-HTMLTemplateProcessor.DocRoot=/idfx
+
+#
+#
+# GENERAL SETUP
+#
 
 ClearXslCache=no
 StandardLanguage=de
+DirectOpenposting=yes
+#use rsync to mirror the website to a remote-host
+Rsync=no
+Rsync.Script.Path=/var/www/bin/rsync-copy
+
+
+
+#
+#
+# STATIC SITE CONFIG
+#
+
+# the url of the static site
+Producer.ProductionHost=http://indy.code-fu.de
+
+# The above URL points to the following directory, in which 
+# the generated HTML pages will be stored
+Producer.StorageRoot=/pub/Dokumente/Indymedia/de-tech/Mir/produced
+
+
+
+
+#
+#
+# DYNAMIC SITE CONFIG 
+#
+
+# Home is the directory in which the compiled Java binaries are stored.
+# Think of it as "install directory" of Mir.
+# This collection of binaries is also referred to as "webapp" in Tomcat
+# terms.
+# Because Mir is a collection of servlets, Tomcat has to know where the
+# servlets reside. So you have to add a link to the below directory in the
+# webapps directory of Tomcat:
+# cd /usr/share/tomcat/webapps ; ln -s $Home Mir
+# where $Home is the below directory and Mir is the first directory level
+# in HTMLTemplateProcessor.ActionRoot
+Home=/pub/Dokumente/Indymedia/de-tech/Mir/
 
-Producer.StorageRoot=/var/www/sites/work.indymedia.de
-Producer.ProductionHost=https://work.indymedia.de
-Producer.OpenAction=https://work.indymedia.de/idfx/servlet/OpenMir
-Producer.DocRoot=/user/idfx/produced
-Producer.ImageRoot=/user/idfx/produced/img
-Producer.ImageHost=http://work.indymedia.de/images
-Producer.VideoHost=http://work.indymedia.de/video
-Producer.AudioHost=http://work.indymedia.de/audio
+# The following item is the class that is to be invoked by Tomcat for admin
+# maintainance. It is relative to the webapps directory in Tomcat.
+# To determine what class file is to be loaded, start in the webapps
+# directory. In the following config item, replace "/servlet/" by
+# "/WEB-INF/classes/" and append ".class". This is the name of the class
+# file to be executed.
+HTMLTemplateProcessor.ActionRoot=/Mir/servlet/Mir
 
-Producer.Image.Host=https://work.indymedia.de
+HTMLTemplateProcessor.DocRoot=/Mir
 
-# image specific storage folders
-Producer.Image.Path=/media/images
+# the url of the openposting-servlet
+Producer.OpenAction=http://indy.code-fu.de/Mir/servlet/OpenMir
+
+
+# fill this variable if the pages should not be saved directly
+# in the Producer.StorageRoot. then the pages will be saved
+# in this subdirectory
+Producer.DocRoot=
+
+
+# this is the name of the subdirectory where the image-dir
+# will be linked to.
+Producer.ImageRoot=img
+
+# the url of the video-server
+Producer.Video.Host=http://indy.code-fu.de/video
+
+# the url of the audio-server
+Producer.Audio.Host=http://indy.code-fu.de/audio
+
+# the url of the image-server
+Producer.Image.Host=http://indy.code-fu.de/images
+
+# image specific storage directories
+# absolute directory, where the images are saved
+Producer.Image.Path=/pub/Dokumente/Indymedia/de-tech/Mir/produced/images
+
+# relativ directory, where the thumbnails will be saved
 Producer.Image.IconPath=/icon
 
+
+
 #
 # edit with caution below this line
 ######################################################################
 
 #
+#
+# DATABASE SETUP
+#
+
+#
 # specify your database
 
 Database.poolMin=1
@@ -42,25 +135,27 @@ Database.Host=localhost
 #
 # this sets the adaptor to be used
 
-Database.Adaptor=webdb.storage.DatabaseAdaptorPostgresql
+Database.Adaptor=mir.storage.DatabaseAdaptorPostgresql
 Database.Logfile=log/dbentity.log
 
 #
 # configuration for adaptor mysql
+# In this example, "mir" is the dbname
 
-Adaptor.MySQL.URL=jdbc:mysql://localhost:3306/indy
+Adaptor.MySQL.URL=jdbc:mysql://localhost:3306/Mir
 Adaptor.MySQL.Driver=org.gjt.mm.mysql.Driver
 
 #
 # configuration for adaptor postgres
 
-Adaptor.PostgreSQL.URL=jdbc:postgresql://localhost:5432/indy3
+Adaptor.PostgreSQL.URL=jdbc:postgresql://localhost:5432/Mir
 Adaptor.PostgreSQL.Driver=org.postgresql.Driver
 
 #
 # should be explained .)
 #
 
+# how many articles should be shown on a list-page
 Lists.Max.Items=10
 
 HTMLTemplateProcessor.Logfile=log/htmlprocess.log
@@ -80,51 +175,57 @@ Mir.ErrorTemplate=fehler.template
 ServletModule.Schwerpunkt.ConfirmTemplate=confirm.template
 ServletModule.Schwerpunkt.ObjektTemplate=schwerpunkt.template
 ServletModule.Schwerpunkt.ListTemplate=schwerpunktlist.template
-ServletModule.Schwerpunkt.Logfile=log/nadiraktuell.log
-Module.Schwerpunkt.Logfile=log/nadiraktuell.log
+ServletModule.Schwerpunkt.Logfile=log/mir.log
+Module.Schwerpunkt.Logfile=log/mir.log
 
 ServletModule.Feature.ConfirmTemplate=confirm.template
 ServletModule.Feature.ObjektTemplate=schwerpunkt.template
 ServletModule.Feature.ListTemplate=schwerpunktlist.template
-ServletModule.Feature.Logfile=log/nadiraktuell.log
-Module.Feature.Logfile=log/nadiraktuell.log
+ServletModule.Feature.Logfile=log/mir.log
+Module.Feature.Logfile=log/mir.log
 
 ServletModule.Themen.ConfirmTemplate=confirm.template
 ServletModule.Themen.ObjektTemplate=themen.template
 ServletModule.Themen.ListTemplate=themenlist.template
-ServletModule.Themen.Logfile=log/nadiraktuell.log
-Module.Themen.Logfile=log/nadiraktuell.log
+ServletModule.Themen.Logfile=log/mir.log
+Module.Themen.Logfile=log/mir.log
+
+ServletModule.LinksImcs.ConfirmTemplate=confirm.template
+ServletModule.LinksImcs.ObjektTemplate=linksimcs.template
+ServletModule.LinksImcs.ListTemplate=linksimcslist.template
+ServletModule.LinksImcs.Logfile=log/mir.log
+Module.LinksImcs.Logfile=log/mir.log
 
 ServletModule.Gruppen.ConfirmTemplate=confirm.template
 ServletModule.Gruppen.ObjektTemplate=gruppen.template
 ServletModule.Gruppen.ListTemplate=gruppenlist.template
-ServletModule.Gruppen.Logfile=log/nadiraktuell.log
-Module.Gruppen.Logfile=log/nadiraktuell.log
+ServletModule.Gruppen.Logfile=log/mir.log
+Module.Gruppen.Logfile=log/mir.log
 
 ServletModule.Users.ConfirmTemplate=confirm.template
 ServletModule.Users.ObjektTemplate=users.template
 ServletModule.Users.ListTemplate=userslist.template
-ServletModule.Users.Logfile=log/nadiraktuell.log
-Module.Users.Logfile=log/nadiraktuell.log
+ServletModule.Users.Logfile=log/mir.log
+Module.Users.Logfile=log/mir.log
 
 ServletModule.Bilder.ConfirmTemplate=confirm.template
 ServletModule.Bilder.ObjektTemplate=bilder.template
 ServletModule.Bilder.ListTemplate=bilderlist.template
-ServletModule.Bilder.Logfile=log/nadiraktuell.log
-Module.Bilder.Logfile=log/nadiraktuell.log
+ServletModule.Bilder.Logfile=log/mir.log
+Module.Bilder.Logfile=log/mir.log
 
 ServletModule.Content.ConfirmTemplate=confirm.template
 ServletModule.Content.ObjektTemplate=content.template
 ServletModule.Content.OpTemplate=oplist.template
 ServletModule.Content.ListTemplate=contentlist.template
-ServletModule.Content.Logfile=log/nadiraktuell.log
-Module.Content.Logfile=log/nadiraktuell.log
+ServletModule.Content.Logfile=log/mir.log
+Module.Content.Logfile=log/mir.log
 
 ServletModule.Mediafolder.ConfirmTemplate=confirm.template
 ServletModule.Mediafolder.ObjektTemplate=mediafolder.template
 ServletModule.Mediafolder.ListTemplate=mediafolderlist.template
-ServletModule.Mediafolder.Logfile=log/nadiraktuell.log
-Module.Mediafolder.Logfile=log/nadiraktuell.log
+ServletModule.Mediafolder.Logfile=log/mir.log
+Module.Mediafolder.Logfile=log/mir.log
 
 #
 # config used for OpenIndy
@@ -160,6 +261,14 @@ ServletModule.Messages.ObjektTemplate=message.template
 ServletModule.Messages.ListTemplate=messagelist.template
 
 #
+# config for languages - browsing/editing/deleting internal messages
+Module.Language.Logfile=log/message.log
+ServletModule.Language.Logfile=log/mir.log
+ServletModule.Language.ConfirmTemplate=confirm.template
+ServletModule.Language.ObjektTemplate=language.template
+ServletModule.Language.ListTemplate=languagelist.template
+
+#
 # producer-related configs below
 #
 
@@ -168,6 +277,8 @@ Producer.IntLinkName=intlink.gif
 Producer.MailLinkName=maillink.gif
 Producer.Logfile=log/producer.log
 
+Producer.Navigation.Template=producer/navigation.template
+
 Producer.Content.Template=producer/content.template
 Producer.Content.Batchsize=20
 
@@ -204,6 +315,4 @@ Xsl.Fo.Content=producer/frontpage_fo.xsl
 Xsl.StartPage=producer/index.xsl
 Xsl.TopicList=producer/topic.xsl
 Xsl.OpenList=producer/open.xsl
-Xsl.Wap=producer/wml2.xsl
-
-Sync.Script.Path=/var/www/bin/rsync-copy
\ No newline at end of file
+Xsl.Wap=producer/wml2.xsl
\ No newline at end of file