2 # Sample config for Mir
3 # by Matthias <mjordan@code-fu.de> 2001-09-12
5 # The Mir software realizes a semi-dynamic web service:
6 # The web server that is accessed by users has pure static
7 # pages. These pages are generated by the Mir software that
8 # consists of a collection of Java servlets and HTML templates.
9 # Mir uses a database server to store the data that is needed to
10 # build the static site.
11 # So there are basically three parts in this config file:
14 # b) static site config
15 # c) dynamic admin site
18 # edit this to suit your needs (here with sampleuser idfx)
19 # After you edited this file, build.sh has to be invoked.
20 # To be sure, also restart Tomcat.
22 # Note that for Mir to work, Tomcat has to be set up to handle all
23 # URLs that begin with /servlet. All other URLs are handled by Apache.
25 # The setup uses the following assumptions:
26 # The URL to reach the site is http://indy.code-fu.de
27 # The StorageRoot of this URL is /pub/Dokumente/Indymedia/de-tech/Mir
28 # All data is located below this directory, including the servlets.
36 ### mir/imc information
37 Mir.Name=mir.indymedia.org
39 Mir.Contact-email.address=mir-coders@lists.indymedia.org
40 Mir.Contact-email.name=mir-coders mailinglist
41 Mir.Tech-email.address=mir-coders@lists.indymedia.org
42 Mir.Tech-email.name=mir-coders mailinglist
43 Mir.Public-email.address=mir-coders@lists.indymedia.org
44 Mir.Public-email.name=mir-coders mailinglist
50 #where to put the lucene index
55 Log.LogClass = mir.log.log4j.LoggerImpl
56 Log.log4j.ConfigurationFile = etc/log4j.properties
59 Mir.Localizer=mircoders.localizer.basic.MirBasicLocalizer
60 Mir.Localizer.Logfile=log/localizer.log
62 # The location of the producer specifiations
63 Mir.Localizer.ProducerConfigFile=etc/producer/producers.xml
65 # Settings for the admin login:
66 Mir.Login.DefaultLanguage=en
67 Mir.Login.Languages=en;nl;de;qu;tr;ay;es
71 Mir.Localizer.Producer.GeneratorLibrary= default=freemarker(etc/producer/)
72 Mir.Localizer.Admin.GeneratorLibrary= default=freemarker(templates/admin/)
73 Mir.Localizer.OpenPosting.GeneratorLibrary= default=freemarker(etc/open/)
75 # How should the custom operations (hide etc) in article and comment lists
77 # 0 = links, 1 = checkboxes, 2 = a listbox
78 Mir.Localizer.Admin.ListOperationsFlavor=1
80 # Which producers need to be called after an article (resp. a comment) is posted
81 Mir.Localizer.OpenPosting.ContentProducers= media.new;articles.changed;startpage.generate;synchronization.run
82 Mir.Localizer.OpenPosting.CommentProducers= articles.changed;synchronization.run
84 # Which producers need to be called after the "produce all new" link is clicked from admin
85 Mir.Localizer.Producer.AllNewProducers= media.new;articles.changed;startpage.run;synchronization.run
88 #note that you can't make pdf's without making fo's
92 #on-time-password-protection
95 #use rsync to mirror the website to a remote-host
97 Rsync.Script.Path=/var/www/bin/rsync-copy
99 # the maximum allowed size of an uploaded media file in KB.
100 MaxMediaUploadSize=20000
102 # the maximum number of allowed media items to upload at once.
103 ServletModule.OpenIndy.MaxMediaUploadItems=20
105 # the default number of media items to upload at once
106 ServletModule.OpenIndy.DefaultMediaUploadItems=1
114 # the url of the static site
115 Producer.ProductionHost=http://indy.code-fu.de
117 # Produrce.StorageRoot is the directory, in which
118 # the generated HTML pages will be stored
119 Producer.StorageRoot=/pub/Dokumente/Indymedia/de-tech/Mir/produced
121 # for FileEdit module
123 # where do we find the files? absolute path
124 ServletModule.FileEdit.FileDirectory=/pub/Dokumente/Indymedia/de-tech/Mir/produced
125 ServletModule.FileEdit.ExtFilter=inc
129 # DYNAMIC SITE CONFIG
132 # the url of the openposting-servlet
133 Producer.OpenAction=http://indy.code-fu.de/Mir/servlet/OpenMir
135 # use this property if the pages are not produced under the docRoot
136 # of the webserver. all links in the produced pages are prepended
137 # with Producer.DocRoot
140 Producer.ActionServlet=/servlet/Mir
142 # this is the name of the subdirectory where the image-dir
144 Producer.ImageRoot=/img
147 # the url of the video-server
148 Producer.Video.Host=http://indy.code-fu.de/video
150 # the url of the audio-server
151 Producer.Audio.Host=http://indy.code-fu.de/audio
153 # the url of the image-server
154 Producer.Image.Host=http://indy.code-fu.de/images
156 # the url of the media-server
157 Producer.Media.Host=http://indy.code-fu.de/media
159 # the url of the real-media-server
160 Producer.RealMedia.Host=rtsp://some.media.server/somedir/
163 # image specific storage directories
164 # absolute directory, where the images are saved
165 Producer.Image.Path=/pub/Dokumente/Indymedia/de-tech/Mir/produced/images/
167 # media specific storage directories
168 # absolute directory, where the media files are saved
169 Producer.Media.Path=/pub/Dokumente/Indymedia/de-tech/Mir/produced/media
171 # absolute directory, where the realmedia data files(ra and rm) are saved
172 # the ram files which point to the RealMedia.Host get saved in the regular Media dir
173 # this should make rsyncing to a separate streaming server much easier
174 Producer.RealMedia.Path=/pub/Dokumente/rtsp
176 # relativ directory, where the thumbnails will be saved
177 Producer.Image.IconPath=/icon
179 # Tiny Icons for the media types on the newswire summary.
180 # (right hand side of start page)
181 Producer.Icon.TinyImage=photo_small.gif
182 Producer.Icon.TinyAudio=audio_small.gif
183 Producer.Icon.TinyVideo=video_small.gif
184 Producer.Icon.TinyText=text_small.gif
186 #Medium sized icons used at various places
187 Producer.Icon.BigImage=photo_big.gif
188 Producer.Icon.BigAudio=audio_big.gif
189 Producer.Icon.BigVideo=video_big.gif
190 Producer.Icon.BigText=text_big.gif
195 # edit with caution below this line
196 ######################################################################
204 # specify your database
208 Database.poolResetTime=1.0
209 Database.PoolLog=log/pool.log
211 Database.Username=postgres
213 Database.Host=localhost
217 # this sets the adaptor to be used
219 Database.Adaptor=mir.storage.DatabaseAdaptorPostgresql
220 Database.Logfile=log/dbentity.log
223 # configuration for adaptor postgres
224 # In this example, "Mir" is the dbname
226 Adaptor.PostgreSQL.URL=jdbc:postgresql://localhost:5432/Mir
227 Adaptor.PostgreSQL.Driver=org.postgresql.Driver
230 # should be explained .)
233 # how many articles should be shown on a list-page
236 HTMLTemplateProcessor.Logfile=log/htmlprocess.log
237 HTMLTemplateProcessor.Dir=
239 Entity.Logfile=log/dbentity.log
242 # Servlet / Module configurations
245 # don't change this unless you really know your i18n.
246 # The default encoding charset used in the written html files as well
247 # as the dynamic output html.
248 # also used for the HTML charset meta tag.
249 Mir.DefaultEncoding=ISO8859_1
250 Mir.Logfile=log/mir.log
251 Mir.ErrorTemplate=templates/error.template
252 Mir.UserErrorTemplate=templates/usererror.template
253 Mir.LoginTemplate=templates/admin/login.template
254 OpenMir.Logfile=log/OpenMir.log
256 ServletModule.Schwerpunkt.ConfirmTemplate=templates/admin/confirm.template
257 ServletModule.Schwerpunkt.ObjektTemplate=templates/admin/feature.template
258 ServletModule.Schwerpunkt.ListTemplate=templates/admin/featurelist.template
260 ServletModule.Feature.ConfirmTemplate=templates/admin/confirm.template
261 ServletModule.Feature.ObjektTemplate=templates/admin/schwerpunkt.template
262 ServletModule.Feature.ListTemplate=templates/admin/schwerpunktlist.template
264 ServletModule.Themen.ConfirmTemplate=templates/admin/confirm.template
265 ServletModule.Themen.ObjektTemplate=templates/admin/topic.template
266 ServletModule.Themen.ListTemplate=templates/admin/topiclist.template
268 ServletModule.LinksImcs.ConfirmTemplate=templates/admin/confirm.template
269 ServletModule.LinksImcs.ObjektTemplate=templates/admin/linksimcs.template
270 ServletModule.LinksImcs.ListTemplate=templates/admin/linksimcslist.template
272 ServletModule.Users.ConfirmTemplate=templates/admin/confirm.template
273 ServletModule.Users.ObjektTemplate=templates/admin/user.template
274 ServletModule.Users.ListTemplate=templates/admin/userlist.template
276 ServletModule.Images.ConfirmTemplate=templates/admin/confirm.template
277 ServletModule.Images.ObjektTemplate=templates/admin/image.template
278 ServletModule.Images.ListTemplate=templates/admin/imagelist.template
280 Module.UploadedMedia.Logfile=log/mir.log
282 ServletModule.Audio.ConfirmTemplate=templates/admin/confirm.template
283 ServletModule.Audio.ObjektTemplate=templates/admin/audio.template
284 ServletModule.Audio.ListTemplate=templates/admin/audiolist.template
286 ServletModule.Video.ConfirmTemplate=templates/admin/confirm.template
287 ServletModule.Video.ObjektTemplate=templates/admin/video.template
288 ServletModule.Video.ListTemplate=templates/admin/videolist.template
290 ServletModule.OtherMedia.ConfirmTemplate=templates/admin/confirm.template
291 ServletModule.OtherMedia.ObjektTemplate=templates/admin/media.template
292 ServletModule.OtherMedia.ListTemplate=templates/admin/medialist.template
294 ServletModule.Content.ConfirmTemplate=templates/admin/confirm.template
295 ServletModule.Content.ObjektTemplate=templates/admin/content.template
296 ServletModule.Content.ListTemplate=templates/admin/contentlist.template
298 ServletModule.Mediafolder.ConfirmTemplate=templates/admin/confirm.template
299 ServletModule.Mediafolder.ObjektTemplate=templates/admin/mediafolder.template
300 ServletModule.Mediafolder.ListTemplate=templates/admin/mediafolderlist.template
303 # config used for OpenIndy
304 ServletModule.OpenIndy.CommentTemplate=etc/open/comment.template
305 ServletModule.OpenIndy.CommentDoneTemplate=etc/open/comment_done.template
306 ServletModule.OpenIndy.CommentDupeTemplate=etc/open/comment_dupe.template
307 ServletModule.OpenIndy.PostingTemplate=etc/open/posting.template
308 ServletModule.OpenIndy.PostingDoneTemplate=etc/open/posting_done.template
309 ServletModule.OpenIndy.PostingDupeTemplate=etc/open/posting_dupe.template
310 ServletModule.OpenIndy.SearchResultsTemplate=etc/open/search_results.template
313 # config for ServletModuleComment - browsing/editing/deleting comments
314 ServletModule.Comment.ConfirmTemplate=templates/admin/confirm.template
315 ServletModule.Comment.ObjektTemplate=templates/admin/comment.template
316 ServletModule.Comment.ListTemplate=templates/admin/commentlist.template
319 # config for ServletModuleHidden - lists all hidden articles of one month
320 ServletModule.Hidden.ListTemplate=templates/admin/hiddenlist.template
323 # config for Breaking - browsing/editing/deleting breaking news
324 ServletModule.Breaking.ConfirmTemplate=templates/admin/confirm.template
325 ServletModule.Breaking.ObjektTemplate=templates/admin/breaking.template
326 ServletModule.Breaking.ListTemplate=templates/admin/breakinglist.template
329 # config for Breaking - editing text files
330 ServletModule.FileEdit.ConfirmTemplate=templates/admin/confirm.template
331 ServletModule.FileEdit.ObjektTemplate=templates/admin/fileedit.template
332 ServletModule.FileEdit.ListTemplate=templates/admin/fileeditlist.template
335 # config for messages - browsing/editing/deleting internal messages
336 ServletModule.Messages.ConfirmTemplate=templates/admin/confirm.template
337 ServletModule.Messages.ObjektTemplate=templates/admin/message.template
338 ServletModule.Messages.ListTemplate=templates/admin/messagelist.template
341 # config for languages - browsing/editing/deleting languages
342 ServletModule.Language.ConfirmTemplate=templates/admin/confirm.template
343 ServletModule.Language.ObjektTemplate=templates/admin/language.template
344 ServletModule.Language.ListTemplate=templates/admin/languagelist.template
347 # config for article type
348 ServletModule.ArticleType.ConfirmTemplate=templates/admin/confirm.template
349 ServletModule.ArticleType.EditTemplate=templates/admin/articletype.template
350 ServletModule.ArticleType.ListTemplate=templates/admin/articletypelist.template
353 # config for comment status
354 ServletModule.CommentStatus.ConfirmTemplate=templates/admin/confirm.template
355 ServletModule.CommentStatus.EditTemplate=templates/admin/commentstatus.template
356 ServletModule.CommentStatus.ListTemplate=templates/admin/commentstatuslist.template
359 # producer-related configs below
362 Producer.ExtLinkName=extlink.gif
363 Producer.IntLinkName=intlink.gif
364 Producer.MailLinkName=maillink.gif
365 Producer.Logfile=log/producer.log
367 Producer.Content.Template=etc/producer/content.template
368 Producer.Content.Batchsize=10