update
[mir.git] / source / config.properties-dist
1 #
2 # Sample config for Mir
3 # by Matthias <mjordan@code-fu.de> 2001-09-12
4 #
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:
12 #
13 # a) general setup
14 # b) static site config
15 # c) dynamic admin site
16 # d) database config
17 #
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.
21 #
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.
24 #
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.
29
30
31
32
33 #
34 #
35 # GENERAL SETUP
36 #
37
38 Mir.Version=pre-1.0
39 ClearXslCache=no
40 StandardLanguage=de
41 DirectOpenposting=yes
42
43 # tempdir to write files for image handling (files are erased)
44 TempDir=/tmp
45
46 #note that you can't make pdf's without making fo's
47 GenerateFO=yes
48 GeneratePDF=yes
49
50 #on-time-password-protection
51 PasswdProtection=yes
52
53 #use rsync to mirror the website to a remote-host
54 Rsync=no
55 Rsync.Script.Path=/var/www/bin/rsync-copy
56
57 # the maximum allowed size of an uploaded media file in KB.
58 MaxMediaUploadSize=20000
59
60 # the maximum number of allowed media items to upload at once.
61 ServletModule.OpenIndy.MaxMediaUploadItems=20
62
63 #
64 #
65 # STATIC SITE CONFIG
66 #
67
68 # the url of the static site
69 Producer.ProductionHost=http://indy.code-fu.de
70
71 # Produrce.StorageRoot is the directory, in which
72 # the generated HTML pages will be stored
73 Producer.StorageRoot=/pub/Dokumente/Indymedia/de-tech/Mir/produced
74
75 # for FileEdit module
76 #
77 # where do we find the files? absolute path
78 ServletModule.FileEdit.FileDirectory=/pub/Dokumente/Indymedia/de-tech/Mir/produced
79 ServletModule.FileEdit.ExtFilter=inc
80
81 #
82 #
83 # DYNAMIC SITE CONFIG
84 #
85
86 # the url of the openposting-servlet
87 Producer.OpenAction=http://indy.code-fu.de/Mir/servlet/OpenMir
88
89
90 # use this property if the pages are not produced under the docRoot
91 # of the webserver. all links in the produced pages are prepended
92 # with Producer.DocRoot
93 Producer.DocRoot=
94
95
96 # this is the name of the subdirectory where the image-dir
97 # will be linked to.
98 Producer.ImageRoot=/img
99
100
101 # the url of the video-server
102 Producer.Video.Host=http://indy.code-fu.de/video
103
104 # the url of the audio-server
105 Producer.Audio.Host=http://indy.code-fu.de/audio
106
107 # the url of the image-server
108 Producer.Image.Host=http://indy.code-fu.de/images
109
110 # the url of the media-server
111 Producer.Media.Host=http://indy.code-fu.de/media
112
113 # the url of the real-media-server
114 Producer.RealMedia.Host=rtsp://some.media.server/somedir/
115
116
117 # image specific storage directories
118 # absolute directory, where the images are saved
119 Producer.Image.Path=/pub/Dokumente/Indymedia/de-tech/Mir/produced/images/
120
121 # media specific storage directories
122 # absolute directory, where the media files are saved
123 Producer.Media.Path=/pub/Dokumente/Indymedia/de-tech/Mir/produced/media
124
125 # absolute directory, where the realmedia data files(ra and rm) are saved
126 # the ram files which point to the RealMedia.Host get saved in the regular Media dir
127 # this should make rsyncing to a separate streaming server much easier
128 Producer.RealMedia.Path=/pub/Dokumente/rtsp
129
130 # relativ directory, where the thumbnails will be saved
131 Producer.Image.IconPath=/icon
132
133 # Tiny Icons for the media types on the newswire summary.
134 # (right hand side of start page)
135 Producer.Icon.TinyImage=photo_small.gif
136 Producer.Icon.TinyAudio=audio_small.gif
137 Producer.Icon.TinyVideo=video_small.gif
138 Producer.Icon.TinyText=text_small.gif
139
140 #Medium sized icons used at various places
141 Producer.Icon.BigImage=photo_big.gif
142 Producer.Icon.BigAudio=audio_big.gif
143 Producer.Icon.BigVideo=video_big.gif
144 Producer.Icon.BigText=text_big.gif
145
146
147
148 #
149 # edit with caution below this line
150 ######################################################################
151
152 #
153 #
154 # DATABASE SETUP
155 #
156
157 #
158 # specify your database
159
160 Database.poolMin=1
161 Database.poolMax=10
162 Database.poolResetTime=1.0
163 Database.PoolLog=log/pool.log
164 Database.Limit=20
165 Database.Username=postgres
166 Database.Password=
167 Database.Host=localhost
168 Database.Name=Mir
169
170 #
171 # this sets the adaptor to be used
172
173 Database.Adaptor=mir.storage.DatabaseAdaptorPostgresql
174 Database.Logfile=log/dbentity.log
175
176 #
177 # configuration for adaptor mysql
178 # In this example, "Mir" is the dbname
179
180 Adaptor.MySQL.URL=jdbc:mysql://localhost:3306/Mir
181 Adaptor.MySQL.Driver=org.gjt.mm.mysql.Driver
182
183 #
184 # configuration for adaptor postgres
185 # In this example, "Mir" is the dbname
186
187 Adaptor.PostgreSQL.URL=jdbc:postgresql://localhost:5432/Mir
188 Adaptor.PostgreSQL.Driver=org.postgresql.Driver
189
190 #
191 # should be explained .)
192 #
193
194 # how many articles should be shown on a list-page
195 Lists.Max.Items=10
196
197 HTMLTemplateProcessor.Logfile=log/htmlprocess.log
198 HTMLTemplateProcessor.Dir=templates
199
200 ServletModule.Producer.Logfile=log/producer.log
201 Entity.Logfile=log/dbentity.log
202
203 #
204 # Servlet / Module configurations
205 #
206
207 # don't change this unless you really know your i18n.
208 # The default encoding charset used in the written html files as well
209 # as the dynamic output html.
210 Mir.DefaultEncoding=ISO8859_1
211 # this encoding is used for the HTML charset meta tag.
212 # it must be the html charset equivalent of the Java encoding above
213 # don't change this unless...
214 Mir.DefaultHTMLCharset=ISO-8859-1
215 Mir.Logfile=log/mir.log
216 Mir.ErrorTemplate=error.template
217 Mir.UserErrorTemplate=usererror.template
218 Mir.LoginTemplate=admin/login.template
219
220 ServletModule.Schwerpunkt.ConfirmTemplate=admin/confirm.template
221 ServletModule.Schwerpunkt.ObjektTemplate=admin/feature.template
222 ServletModule.Schwerpunkt.ListTemplate=admin/featurelist.template
223 ServletModule.Schwerpunkt.Logfile=log/mir.log
224 Module.Schwerpunkt.Logfile=log/mir.log
225
226 ServletModule.Feature.ConfirmTemplate=admin/confirm.template
227 ServletModule.Feature.ObjektTemplate=admin/schwerpunkt.template
228 ServletModule.Feature.ListTemplate=admin/schwerpunktlist.template
229 ServletModule.Feature.Logfile=log/mir.log
230 Module.Feature.Logfile=log/mir.log
231
232 ServletModule.Themen.ConfirmTemplate=admin/confirm.template
233 ServletModule.Themen.ObjektTemplate=admin/topic.template
234 ServletModule.Themen.ListTemplate=admin/topiclist.template
235 ServletModule.Themen.Logfile=log/mir.log
236 Module.Themen.Logfile=log/mir.log
237
238 ServletModule.LinksImcs.ConfirmTemplate=admin/confirm.template
239 ServletModule.LinksImcs.ObjektTemplate=admin/linksimcs.template
240 ServletModule.LinksImcs.ListTemplate=admin/linksimcslist.template
241 ServletModule.LinksImcs.Logfile=log/mir.log
242 Module.LinksImcs.Logfile=log/mir.log
243
244 ServletModule.Users.ConfirmTemplate=admin/confirm.template
245 ServletModule.Users.ObjektTemplate=admin/user.template
246 ServletModule.Users.ListTemplate=admin/userlist.template
247 ServletModule.Users.Logfile=log/mir.log
248 Module.Users.Logfile=log/mir.log
249
250 ServletModule.Images.ConfirmTemplate=admin/confirm.template
251 ServletModule.Images.ObjektTemplate=admin/image.template
252 ServletModule.Images.ListTemplate=admin/imagelist.template
253 ServletModule.Images.Logfile=log/mir.log
254 Module.Images.Logfile=log/mir.log
255
256 Module.UploadedMedia.Logfile=log/mir.log
257
258 ServletModule.Audio.ConfirmTemplate=admin/confirm.template
259 ServletModule.Audio.ObjektTemplate=admin/audio.template
260 ServletModule.Audio.ListTemplate=admin/audiolist.template
261 ServletModule.Audio.Logfile=log/mir.log
262
263 ServletModule.Video.ConfirmTemplate=admin/confirm.template
264 ServletModule.Video.ObjektTemplate=admin/video.template
265 ServletModule.Video.ListTemplate=admin/videolist.template
266 ServletModule.Video.Logfile=log/mir.log
267
268 ServletModule.OtherMedia.ConfirmTemplate=admin/confirm.template
269 ServletModule.OtherMedia.ObjektTemplate=admin/media.template
270 ServletModule.OtherMedia.ListTemplate=admin/medialist.template
271 ServletModule.OtherMedia.Logfile=log/mir.log
272
273 ServletModule.Content.ConfirmTemplate=admin/confirm.template
274 ServletModule.Content.ObjektTemplate=admin/content.template
275 ServletModule.Content.ListTemplate=admin/contentlist.template
276 ServletModule.Content.Logfile=log/mir.log
277 Module.Content.Logfile=log/mir.log
278
279 ServletModule.Mediafolder.ConfirmTemplate=admin/confirm.template
280 ServletModule.Mediafolder.ObjektTemplate=admin/mediafolder.template
281 ServletModule.Mediafolder.ListTemplate=admin/mediafolderlist.template
282 ServletModule.Mediafolder.Logfile=log/mir.log
283 Module.Mediafolder.Logfile=log/mir.log
284
285 #
286 # config used for OpenIndy
287 ServletModule.OpenIndy.CommentTemplate=open/comment.template
288 ServletModule.OpenIndy.CommentDoneTemplate=open/comment_done.template
289 ServletModule.OpenIndy.CommentDupeTemplate=open/comment_dupe.template
290 ServletModule.OpenIndy.PostingTemplate=open/posting.template
291 ServletModule.OpenIndy.PostingDoneTemplate=open/posting_done.template
292 ServletModule.OpenIndy.PostingDupeTemplate=open/posting_dupe.template
293 ServletModule.OpenIndy.Logfile=log/openindy.log
294
295 #
296 # config for ServletModuleComment - browsing/editing/deleting comments
297 Module.Comment.Logfile=log/comment.log
298 ServletModule.Comment.Logfile=log/comment.log
299 ServletModule.Comment.ConfirmTemplate=admin/confirm.template
300 ServletModule.Comment.ObjektTemplate=admin/comment.template
301 ServletModule.Comment.ListTemplate=admin/commentlist.template
302
303 #
304 # config for ServletModuleHidden - lists all hidden articles of one month
305 ServletModule.Hidden.Logfile=log/hidden.log
306 ServletModule.Hidden.ListTemplate=admin/hiddenlist.template
307
308
309 #
310 # config for Breaking - browsing/editing/deleting breaking news
311 Module.Breaking.Logfile=log/breaking.log
312 ServletModule.Breaking.Logfile=log/comment.log
313 ServletModule.Breaking.ConfirmTemplate=admin/confirm.template
314 ServletModule.Breaking.ObjektTemplate=admin/breaking.template
315 ServletModule.Breaking.ListTemplate=admin/breakinglist.template
316
317 #
318 # config for Breaking - editing text files
319 ServletModule.FileEdit.Logfile=log/fileedit.log
320 ServletModule.FileEdit.ConfirmTemplate=admin/confirm.template
321 ServletModule.FileEdit.ObjektTemplate=admin/fileedit.template
322 ServletModule.FileEdit.ListTemplate=admin/fileeditlist.template
323
324
325
326 #
327 # config for messages - browsing/editing/deleting internal messages
328 Module.Messages.Logfile=log/message.log
329 ServletModule.Messages.Logfile=log/comment.log
330 ServletModule.Messages.ConfirmTemplate=admin/confirm.template
331 ServletModule.Messages.ObjektTemplate=admin/message.template
332 ServletModule.Messages.ListTemplate=admin/messagelist.template
333
334 #
335 # config for languages - browsing/editing/deleting languages
336 Module.Language.Logfile=log/message.log
337 ServletModule.Language.Logfile=log/mir.log
338 ServletModule.Language.ConfirmTemplate=admin/confirm.template
339 ServletModule.Language.ObjektTemplate=admin/language.template
340 ServletModule.Language.ListTemplate=admin/languagelist.template
341
342
343 #
344 # producer-related configs below
345 #
346
347 Producer.ExtLinkName=extlink.gif
348 Producer.IntLinkName=intlink.gif
349 Producer.MailLinkName=maillink.gif
350 Producer.Logfile=log/producer.log
351
352 Producer.Navigation.Template=producer/navigation.template
353
354 Producer.Content.Template=producer/content.template
355 Producer.Content.Batchsize=10
356
357 Producer.PrintableContent.Template=producer/printablecontent.template
358 Producer.PrintableContent.html2foStyleSheetName=producer/html2fo.xsl
359
360 Producer.Startseite.Template=producer/startseite.template
361 Producer.Startseite.Entries=7
362 Producer.Startseite.Pages=10
363 Producer.Startseite.Termine=5
364
365 Producer.Themen.Template=producer/themen.template
366 Producer.Themen.Entries=7
367 Producer.Themen.Pages=3
368
369 Producer.Schwerpunkte.Template=producer/schwerpunkte.template
370 Producer.Schwerpunkte.Entries=7
371 Producer.Schwerpunkte.Pages=3
372
373 Producer.Overview.MonthTemplate=producer/ov_month.template
374 Producer.Overview.YearTemplate=producer/ov_year.template
375
376 Producer.List.Template=producer/list.template
377 Producer.TopicList.Template=producer/topiclist.template
378 Producer.OpenPosting.Template=producer/openposting.template
379 Producer.FeatureList.Template=producer/featurelist.template
380
381 Producer.StartPage.Template=producer/startpage.template
382 Producer.FeaturesRSS.Template=producer/featuresRSS.template
383 Producer.StartPage.Items=10
384 Producer.StartPage.Newswire=30
385
386
387 # todo: do we need those?
388
389 Xsl.Content=producer/content.xsl
390 Xsl.Fo.Content=producer/frontpage_fo.xsl
391 Xsl.StartPage=producer/index.xsl
392 Xsl.TopicList=producer/topic.xsl
393 Xsl.OpenList=producer/open.xsl
394 Xsl.Wap=producer/wml2.xsl