X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=source%2Fconfig.properties-dist;h=6bcd8e073a6bbc43c96b2f39e728dae5ff264a15;hb=0e582e325d9d2ab2979d143c5d41d82e52c7ad1c;hp=c3b1ad0b1a4a1361a6045b61eb56ff6f982f563f;hpb=018bfd5bd02b1b70b1977bbc3e0b2ab61bbb3537;p=mir.git diff --git a/source/config.properties-dist b/source/config.properties-dist index c3b1ad0b..6bcd8e07 100755 --- a/source/config.properties-dist +++ b/source/config.properties-dist @@ -1,53 +1,126 @@ # +# Sample config for Mir +# by Matthias 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/Mir/ -HTMLTemplateProcessor.ActionRoot=/idfx/servlet/Mir -HTMLTemplateProcessor.DocRoot=/idfx + +# +# +# GENERAL SETUP +# ClearXslCache=no -DirectOpenposting=yes 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 + -# the directory where the html-files will be saved -Producer.StorageRoot=/var/www/sites/work.indymedia.de -# the url of the site -Producer.ProductionHost=https://work.indymedia.de + +# +# +# 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/ + +# 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 + +HTMLTemplateProcessor.DocRoot=/Mir # the url of the openposting-servlet -Producer.OpenAction=https://work.indymedia.de/idfx/servlet/OpenMir +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=/user/idfx/produced +Producer.DocRoot= + # this is the name of the subdirectory where the image-dir # will be linked to. -Producer.ImageRoot=/user/idfx/produced/img +Producer.ImageRoot=img # the url of the video-server -Producer.Video.Host=http://work.indymedia.de/video +Producer.Video.Host=http://indy.code-fu.de/video # the url of the audio-server -Producer.Audio.Host=http://work.indymedia.de/audio +Producer.Audio.Host=http://indy.code-fu.de/audio # the url of the image-server -Producer.Image.Host=https://work.indymedia.de +Producer.Image.Host=http://indy.code-fu.de/images # image specific storage directories # absolute directory, where the images are saved -Producer.Image.Path=/var/media/images +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 @@ -67,14 +140,15 @@ Database.Logfile=log/dbentity.log # # configuration for adaptor mysql +# In this example, "mir" is the dbname -Adaptor.MySQL.URL=jdbc:mysql://localhost:3306/mir +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/mir +Adaptor.PostgreSQL.URL=jdbc:postgresql://localhost:5432/Mir Adaptor.PostgreSQL.Driver=org.postgresql.Driver # @@ -241,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 +Xsl.Wap=producer/wml2.xsl \ No newline at end of file