# d) database config
#
# edit this to suit your needs
-# After you edited this file, "ant" has to be invoked.
-# To be sure, also restart Tomcat.
+# After editing this file, two steps need to be taken to make the changes effective:
+# 1. ant has to be invoked.
+# 2. tomcat needs to be restarted.
#
-# 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.
+# This file only contains the properties that are most often changed. To view all
+# possible config values, refer to the file default.properties, located in the
+# source directory. Don't change settings in default.properties however, instead
+# use this file.
#
-# There are more configuration values located in the default.properties file
-# located in source/. If necessary these values can be overridden in this file.
+# Note: for filename values, by default, files are used relative to the servlet's
+# WEB-INF directory.
#
# The setup uses the following assumptions:
-# The URL to reach the site is http://mir.code-fu.org
+# The URL to reach the site is http://mir.someserver.org
# The StorageRoot of this URL is /var/www/project/site/
# All produced pages and media are located below this directory.
-# The servlets are also found there in a /servlet subdir.
-
################################################
############ A) GENERAL SETUP ##############
Mir.Public-email.address=project@somemailserver.org
Mir.Public-email.name=project mailinglist
-
-# DirectOpenposting
-# yes = articles appear in the newswire on the startpage directly after posting them
-# no = new articles not in newswire by default
-# and editors have to promote them before they show on startpage
-#
-DirectOpenposting=yes
-
# Default timezone to display times in in admin, producers
# use CET for Central European Time (Paris, Amsterdam)
# more timezones here: http://www.postgresql.org/docs/7.2/static/timezones.html
Mir.DefaultTimezone= UTC
# Default date/time format
-#
+# For the syntax of the format, refer to
+# http://java.sun.com/j2se/1.3/docs/api/java/text/SimpleDateFormat.html
Mir.DefaultDateTimeFormat = yyyy-MM-dd HH:mm
-# where to put the lucene index
-# for the build in searchengine
-# (must be created by you and writable by tomcat-user)
-#
-IndexPath=/var/www/project/lucineindex
-
-# temp-dir used for media-uploads
-#
-TempDir=/tmp
-
-# Logging
-# by default logs are found in bin/mir/WEB-INF/log
-#
-Log.LogClass = mir.log.log4j.LoggerImpl
-Log.log4j.ConfigurationFile = etc/log4j.properties
-Log.Home = log
-
-# Mir.Localizer
-# for your additional site-specific java-code
-#
-Mir.Localizer=mircoders.localizer.basic.MirBasicLocalizer
-
-# The location of the producer specifiations
-#
-Mir.Localizer.ProducerConfigFile=etc/producer/producers.xml
-
# For missing values, the FallbackLanguage is used as default
#
Mir.Admin.FallbackLanguage=en
-# the templates
-#
-Mir.Localizer.Producer.GeneratorLibrary= default=freemarker(etc/producer/)
-Mir.Localizer.Admin.GeneratorLibrary= default=freemarker(templates/admin/)
-Mir.Localizer.OpenPosting.GeneratorLibrary= default=freemarker(etc/open/)
-
-
#################################
# admin interface configuration #
#################################
#
Mir.Admin.ShowLoggedinUsers=1
-# How should the custom operations (hide etc) in article and comment lists
-# be presented?
-# 0 = links, 1 = checkboxes, 2 = a listbox
-#
-Mir.Localizer.Admin.ListOperationsFlavor=1
-
-# How should the topics be presented on the article edit page?
-# 0 = in a multiselect list box, 1 = checkboxes
-#
-Mir.Localizer.Admin.TopicListFlavor=1
-
-# For the checkboxes flavour, how many columns should there be?
-#
-Mir.Localizer.Admin.TopicListColumns=3
-
-# In which order should the topic appear?
-#
-Mir.Localizer.Admin.TopicListOrder=title
-
# enable deletion of comments/articles?
#
Mir.Localizer.Admin.AllowDeleteComment=1
Mir.Localizer.Admin.AllowDeleteArticle=1
-# Article Preview Link URL (Link to produced articles from within admin)
-#
-Article.PublicUrl=http://mir.code-foo.org/en/${to_content.date.formatted.yyyy}/${to_content.date.formatted.MM}/${to_content.id}.shtml
-Comment.PublicUrl=http://mir.code-foo.org/en/${date.formatted.yyyy}/${date.formatted.MM}/${id}.shtml
-
-
#######################
# automated producers #
#######################
ServletModule.FileEdit.Configuration= \
includes:/var/www/project/site/includes:.*\\.inc:1
-
-
-
################################################
########### B) STATIC SITE CONFIG #############
################################################
# the url of the static site
# on the machine where mir runs on
#
-Producer.ProductionHost=http://mir.code-fu.org
+Producer.ProductionHost=http://mir.someserver.org
# the url of the public site
# only different from ProductionHost if pages are copied to
# one ore more mirror-servers for delivery
#
-Producer.PublicationHost=http://mir.code-fu.org
+Producer.PublicationHost=http://mir.someserver.org
# Produrce.StorageRoot is the directory, in which
# the generated HTML pages will be stored
# the url of the video-server
#
-Producer.Video.Host=http://mir.code-fu.org/video
+Producer.Video.Host=http://mir.someserver.org/video
# the url of the audio-server
#
-Producer.Audio.Host=http://mir.code-fu.org/audio
+Producer.Audio.Host=http://mir.someserver.org/audio
# the url of the image-server
#
-Producer.Image.Host=http://mir.code-fu.org/images
+Producer.Image.Host=http://mir.someserver.org/images
# the url of the media-server
#
-Producer.Media.Host=http://mir.code-fu.org/media
+Producer.Media.Host=http://mir.someserver.org/media
# the url of the real-media-server
#
# the url of the openposting-servlet
#
-Producer.OpenAction=http://mir.code-fu.org/servlet/OpenMir
+Producer.OpenAction=http://mir.someserver.org/servlet/OpenMir
# the maximum allowed size of an uploaded media file in KB.
#
ServletModule.OpenIndy.DefaultMediaUploadItems=1
-
######################
# PDF configurations #
######################
#
PDF.PageSize=A4
-
-#the style sheet used to turn html into xsl:fo
-#this is not currently in use, so don't worry about it
-Producer.HTML2FOStyleSheet=/some/dir/mir/etc/producer/html2fo.xsl
-
-
-
-######################################################################
-# edit with caution below this line
-######################################################################
-
################################################
############ D) DATABASE CONFIG ##############
################################################
Database.Host=localhost
Database.Port=5432
-
-Database.poolMin=1
-Database.poolMax=10
-Database.poolResetTime=1.0
-Database.PoolLog=log/pool.log
-Database.Limit=20
Database.Driver=org.postgresql.Driver
-
############################################
-# servlet / module encoding configurations #
+# encoding configuration #
############################################
-# don't change this unless you really know your i18n.
# The default encoding charset used in the written html files as well
# as the dynamic output html.
-# also used for the HTML charset meta tag.
-#
-Mir.DefaultEncoding=UTF8
-
-# this encoding is used for the HTML charset meta tag.
-# it must be the html charset equivalent of the Java encoding above
-# don't change this unless...
-#
Mir.DefaultHTMLCharset=UTF-8
+
+# The java equivalent of Mir.DefaultHTMLCharset
+Mir.DefaultEncoding=UTF8