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 DocumentRoot 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 Mir.Localizer=mircoders.localizer.basic.MirBasicLocalizer
51 Mir.Localizer.Logfile=log/localizer.log
52 Mir.Localizer.ProducerConfigFile=etc/producers.xml
56 #note that you can't make pdf's without making fo's
60 #on-time-password-protection
63 #use rsync to mirror the website to a remote-host
65 Rsync.Script.Path=/var/www/bin/rsync-copy
67 # the maximum allowed size of an uploaded media file in KB.
68 MaxMediaUploadSize=20000
70 # the maximum number of allowed media items to upload at once.
71 ServletModule.OpenIndy.MaxMediaUploadItems=20
78 # the url of the static site
79 Producer.ProductionHost=http://localhost
81 # Produrce.StorageRoot is the directory, in which
82 # the generated HTML pages will be stored
83 Producer.StorageRoot=/data/code/mir/Mir/produced
87 # where do we find the files? absolute path
88 ServletModule.FileEdit.FileDirectory=/data/code/mir/Mir/produced_noono
89 ServletModule.FileEdit.ExtFilter=inc
96 # the url of the openposting-servlet
97 Producer.OpenAction=http://localhost:8180/mir/servlet/OpenMir
99 # use this property if the pages are not produced under the docRoot
100 # of the webserver. all links in the produced pages are prepended
101 # with Producer.DocRoot
104 Producer.ActionServlet=/servlet/Mir
106 # this is the name of the subdirectory where the image-dir
108 Producer.ImageRoot=/img
111 # the url of the video-server
112 Producer.Video.Host=http://indy.code-fu.de/video
114 # the url of the audio-server
115 Producer.Audio.Host=http://indy.code-fu.de/audio
117 # the url of the image-server
118 Producer.Image.Host=http://indy.code-fu.de/images
120 # the url of the media-server
121 Producer.Media.Host=http://indy.code-fu.de/media
123 # the url of the real-media-server
124 Producer.RealMedia.Host=rtsp://some.media.server/somedir/
127 # image specific storage directories
128 # absolute directory, where the images are saved
129 Producer.Image.Path=/data/code/mir/Mir/produced/images/
131 # media specific storage directories
132 # absolute directory, where the media files are saved
133 Producer.Media.Path=/data/code/mir/Mir/produced/media
135 # absolute directory, where the realmedia data files(ra and rm) are saved
136 # the ram files which point to the RealMedia.Host get saved in the regular Media dir
137 # this should make rsyncing to a separate streaming server much easier
138 Producer.RealMedia.Path=/pub/Dokumente/rtsp
140 # relativ directory, where the thumbnails will be saved
141 Producer.Image.IconPath=/icon
143 # Tiny Icons for the media types on the newswire summary.
144 # (right hand side of start page)
145 Producer.Icon.TinyImage=photo_small.gif
146 Producer.Icon.TinyAudio=audio_small.gif
147 Producer.Icon.TinyVideo=video_small.gif
148 Producer.Icon.TinyText=text_small.gif
150 #Medium sized icons used at various places
151 Producer.Icon.BigImage=photo_big.gif
152 Producer.Icon.BigAudio=audio_big.gif
153 Producer.Icon.BigVideo=video_big.gif
154 Producer.Icon.BigText=text_big.gif
159 # edit with caution below this line
160 ######################################################################
168 # specify your database
172 Database.poolResetTime=1.0
173 Database.PoolLog=log/pool.log
175 Database.Username=postgres
177 Database.Host=localhost
181 # this sets the adaptor to be used
183 Database.Adaptor=mir.storage.DatabaseAdaptorPostgresql
184 Database.Logfile=log/dbentity.log
187 # configuration for adaptor mysql
188 # In this example, "Mir" is the dbname
190 Adaptor.MySQL.URL=jdbc:mysql://localhost:3306/Mir
191 Adaptor.MySQL.Driver=org.gjt.mm.mysql.Driver
194 # configuration for adaptor postgres
195 # In this example, "Mir" is the dbname
197 Adaptor.PostgreSQL.URL=jdbc:postgresql://localhost:5432/Mir
198 Adaptor.PostgreSQL.Driver=org.postgresql.Driver
201 # should be explained .)
204 # how many articles should be shown on a list-page
207 HTMLTemplateProcessor.Logfile=log/htmlprocess.log
208 HTMLTemplateProcessor.Dir=
210 ServletModule.Producer.Logfile=log/producer.log
211 Entity.Logfile=log/dbentity.log
214 # Servlet / Module configurations
217 # don't change this unless you really know your i18n.
218 # The default encoding charset used in the written html files as well
219 # as the dynamic output html.
220 # also used for the HTML charset meta tag.
221 Mir.DefaultEncoding=ISO8859_1
222 Mir.Logfile=log/mir.log
223 Mir.ErrorTemplate=error.template
224 Mir.UserErrorTemplate=usererror.template
225 Mir.LoginTemplate=templates/admin/login.template
227 ServletModule.Schwerpunkt.ConfirmTemplate=templates/admin/confirm.template
228 ServletModule.Schwerpunkt.ObjektTemplate=templates/admin/feature.template
229 ServletModule.Schwerpunkt.ListTemplate=templates/admin/featurelist.template
230 ServletModule.Schwerpunkt.Logfile=log/mir.log
231 Module.Schwerpunkt.Logfile=log/mir.log
233 ServletModule.Feature.ConfirmTemplate=templates/admin/confirm.template
234 ServletModule.Feature.ObjektTemplate=templates/admin/schwerpunkt.template
235 ServletModule.Feature.ListTemplate=templates/admin/schwerpunktlist.template
236 ServletModule.Feature.Logfile=log/mir.log
237 Module.Feature.Logfile=log/mir.log
239 ServletModule.Themen.ConfirmTemplate=templates/admin/confirm.template
240 ServletModule.Themen.ObjektTemplate=templates/admin/topic.template
241 ServletModule.Themen.ListTemplate=templates/admin/topiclist.template
242 ServletModule.Themen.Logfile=log/mir.log
243 Module.Themen.Logfile=log/mir.log
245 ServletModule.LinksImcs.ConfirmTemplate=templates/admin/confirm.template
246 ServletModule.LinksImcs.ObjektTemplate=templates/admin/linksimcs.template
247 ServletModule.LinksImcs.ListTemplate=templates/admin/linksimcslist.template
248 ServletModule.LinksImcs.Logfile=log/mir.log
249 Module.LinksImcs.Logfile=log/mir.log
251 ServletModule.Users.ConfirmTemplate=templates/admin/confirm.template
252 ServletModule.Users.ObjektTemplate=templates/admin/user.template
253 ServletModule.Users.ListTemplate=templates/admin/userlist.template
254 ServletModule.Users.Logfile=log/mir.log
255 Module.Users.Logfile=log/mir.log
257 ServletModule.Images.ConfirmTemplate=templates/admin/confirm.template
258 ServletModule.Images.ObjektTemplate=templates/admin/image.template
259 ServletModule.Images.ListTemplate=templates/admin/imagelist.template
260 ServletModule.Images.Logfile=log/mir.log
261 Module.Images.Logfile=log/mir.log
263 Module.UploadedMedia.Logfile=log/mir.log
265 ServletModule.Audio.ConfirmTemplate=templates/admin/confirm.template
266 ServletModule.Audio.ObjektTemplate=templates/admin/audio.template
267 ServletModule.Audio.ListTemplate=templates/admin/audiolist.template
268 ServletModule.Audio.Logfile=log/mir.log
270 ServletModule.Video.ConfirmTemplate=templates/admin/confirm.template
271 ServletModule.Video.ObjektTemplate=templates/admin/video.template
272 ServletModule.Video.ListTemplate=templates/admin/videolist.template
273 ServletModule.Video.Logfile=log/mir.log
275 ServletModule.OtherMedia.ConfirmTemplate=templates/admin/confirm.template
276 ServletModule.OtherMedia.ObjektTemplate=templates/admin/media.template
277 ServletModule.OtherMedia.ListTemplate=templates/admin/medialist.template
278 ServletModule.OtherMedia.Logfile=log/mir.log
280 ServletModule.Content.ConfirmTemplate=templates/admin/confirm.template
281 ServletModule.Content.ObjektTemplate=templates/admin/content.template
282 ServletModule.Content.ListTemplate=templates/admin/contentlist.template
283 ServletModule.Content.Logfile=log/mir.log
284 Module.Content.Logfile=log/mir.log
286 ServletModule.Mediafolder.ConfirmTemplate=templates/admin/confirm.template
287 ServletModule.Mediafolder.ObjektTemplate=templates/admin/mediafolder.template
288 ServletModule.Mediafolder.ListTemplate=templates/admin/mediafolderlist.template
289 ServletModule.Mediafolder.Logfile=log/mir.log
290 Module.Mediafolder.Logfile=log/mir.log
293 # config used for OpenIndy
294 ServletModule.OpenIndy.CommentTemplate=etc/open/comment.template
295 ServletModule.OpenIndy.CommentDoneTemplate=etc/open/comment_done.template
296 ServletModule.OpenIndy.CommentDupeTemplate=etc/open/comment_dupe.template
297 ServletModule.OpenIndy.PostingTemplate=etc/open/posting.template
298 ServletModule.OpenIndy.PostingDoneTemplate=etc/open/posting_done.template
299 ServletModule.OpenIndy.PostingDupeTemplate=etc/open/posting_dupe.template
300 ServletModule.OpenIndy.Logfile=log/openindy.log
303 # config for ServletModuleComment - browsing/editing/deleting comments
304 Module.Comment.Logfile=log/comment.log
305 ServletModule.Comment.Logfile=log/comment.log
306 ServletModule.Comment.ConfirmTemplate=templates/admin/confirm.template
307 ServletModule.Comment.ObjektTemplate=templates/admin/comment.template
308 ServletModule.Comment.ListTemplate=templates/admin/commentlist.template
311 # config for ServletModuleHidden - lists all hidden articles of one month
312 ServletModule.Hidden.Logfile=log/hidden.log
313 ServletModule.Hidden.ListTemplate=templates/admin/hiddenlist.template
317 # config for Breaking - browsing/editing/deleting breaking news
318 Module.Breaking.Logfile=log/breaking.log
319 ServletModule.Breaking.Logfile=log/comment.log
320 ServletModule.Breaking.ConfirmTemplate=templates/admin/confirm.template
321 ServletModule.Breaking.ObjektTemplate=templates/admin/breaking.template
322 ServletModule.Breaking.ListTemplate=templates/admin/breakinglist.template
325 # config for Breaking - editing text files
326 ServletModule.FileEdit.Logfile=log/fileedit.log
327 ServletModule.FileEdit.ConfirmTemplate=templates/admin/confirm.template
328 ServletModule.FileEdit.ObjektTemplate=templates/admin/fileedit.template
329 ServletModule.FileEdit.ListTemplate=templates/admin/fileeditlist.template
334 # config for messages - browsing/editing/deleting internal messages
335 Module.Messages.Logfile=log/message.log
336 ServletModule.Messages.Logfile=log/comment.log
337 ServletModule.Messages.ConfirmTemplate=templates/admin/confirm.template
338 ServletModule.Messages.ObjektTemplate=templates/admin/message.template
339 ServletModule.Messages.ListTemplate=templates/admin/messagelist.template
342 # config for languages - browsing/editing/deleting languages
343 Module.Language.Logfile=log/message.log
344 ServletModule.Language.Logfile=log/mir.log
345 ServletModule.Language.ConfirmTemplate=templates/admin/confirm.template
346 ServletModule.Language.ObjektTemplate=templates/admin/language.template
347 ServletModule.Language.ListTemplate=templates/admin/languagelist.template
351 # producer-related configs below
354 Producer.ExtLinkName=extlink.gif
355 Producer.IntLinkName=intlink.gif
356 Producer.MailLinkName=maillink.gif
357 Producer.Logfile=log/producer.log
359 Producer.Navigation.Template=etc/producer/navigation.template
361 Producer.Content.Template=etc/producer/content.template
362 Producer.Content.Batchsize=10
364 Producer.PrintableContent.Template=etc/producer/printablecontent.template
365 Producer.PrintableContent.html2foStyleSheetName=etc/producer/html2fo.xsl
367 Producer.Startseite.Template=etc/producer/startseite.template
368 Producer.Startseite.Entries=7
369 Producer.Startseite.Pages=10
370 Producer.Startseite.Termine=5
372 Producer.Themen.Template=etc/producer/themen.template
373 Producer.Themen.Entries=7
374 Producer.Themen.Pages=3
376 Producer.Schwerpunkte.Template=etc/producer/schwerpunkte.template
377 Producer.Schwerpunkte.Entries=7
378 Producer.Schwerpunkte.Pages=3
380 Producer.Overview.MonthTemplate=etc/producer/ov_month.template
381 Producer.Overview.YearTemplate=etc/producer/ov_year.template
383 Producer.List.Template=etc/producer/list.template
384 Producer.TopicList.Template=etc/producer/topiclist.template
385 Producer.OpenPosting.Template=etc/producer/openposting.template
386 Producer.FeatureList.Template=etc/producer/featurelist.template
388 Producer.StartPage.Template=etc/producer/startpage.template
389 Producer.FeaturesRSS.Template=etc/producer/featuresRSS.template
390 Producer.StartPage.Items=10
391 Producer.StartPage.Newswire=30
394 # todo: do we need those?
396 Xsl.Content=producer/content.xsl
397 Xsl.Fo.Content=producer/frontpage_fo.xsl
398 Xsl.StartPage=producer/index.xsl
399 Xsl.TopicList=producer/topic.xsl
400 Xsl.OpenList=producer/open.xsl
401 Xsl.Wap=producer/wml2.xsl
404 Log.LogClass=mir.log.log4j.LoggerImpl