seperation of admin and open posting bundles
[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 # GENERAL SETUP
34 #
35
36 ### mir/imc information
37 Mir.Name=mir.indymedia.org
38 Mir.Shortname=mir
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
45
46 Mir.Version=1.1beta
47 StandardLanguage=de
48 DirectOpenposting=yes
49
50 Mir.Localizer=mircoders.localizer.basic.MirBasicLocalizer
51 Mir.Localizer.Logfile=log/localizer.log
52 Mir.Localizer.ProducerConfigFile=templates/producer/producers.xml
53
54
55
56 #note that you can't make pdf's without making fo's
57 GenerateFO=yes
58 GeneratePDF=yes
59
60 #on-time-password-protection
61 PasswdProtection=no
62
63 #use rsync to mirror the website to a remote-host
64 Rsync=no
65 Rsync.Script.Path=/var/www/bin/rsync-copy
66
67 # the maximum allowed size of an uploaded media file in KB.
68 MaxMediaUploadSize=20000
69
70 # the maximum number of allowed media items to upload at once.
71 ServletModule.OpenIndy.MaxMediaUploadItems=20
72
73 #
74 #
75 # STATIC SITE CONFIG
76 #
77
78 # the url of the static site
79 Producer.ProductionHost=http://indy.code-fu.de
80
81 # Produrce.StorageRoot is the directory, in which
82 # the generated HTML pages will be stored
83 Producer.StorageRoot=/pub/Dokumente/Indymedia/de-tech/Mir/produced
84
85 # for FileEdit module
86 #
87 # where do we find the files? absolute path
88 ServletModule.FileEdit.FileDirectory=/pub/Dokumente/Indymedia/de-tech/Mir/produced
89 ServletModule.FileEdit.ExtFilter=inc
90
91 #
92 #
93 # DYNAMIC SITE CONFIG
94 #
95
96 # the url of the openposting-servlet
97 Producer.OpenAction=http://indy.code-fu.de/Mir/servlet/OpenMir
98
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
102 Producer.DocRoot=
103
104 Producer.ActionServlet=/servlet/Mir
105
106 # this is the name of the subdirectory where the image-dir
107 # will be linked to.
108 Producer.ImageRoot=/img
109
110
111 # the url of the video-server
112 Producer.Video.Host=http://indy.code-fu.de/video
113
114 # the url of the audio-server
115 Producer.Audio.Host=http://indy.code-fu.de/audio
116
117 # the url of the image-server
118 Producer.Image.Host=http://indy.code-fu.de/images
119
120 # the url of the media-server
121 Producer.Media.Host=http://indy.code-fu.de/media
122
123 # the url of the real-media-server
124 Producer.RealMedia.Host=rtsp://some.media.server/somedir/
125
126
127 # image specific storage directories
128 # absolute directory, where the images are saved
129 Producer.Image.Path=/pub/Dokumente/Indymedia/de-tech/Mir/produced/images/
130
131 # media specific storage directories
132 # absolute directory, where the media files are saved
133 Producer.Media.Path=/pub/Dokumente/Indymedia/de-tech/Mir/produced/media
134
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
139
140 # relativ directory, where the thumbnails will be saved
141 Producer.Image.IconPath=/icon
142
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
149
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
155
156
157
158 #
159 # edit with caution below this line
160 ######################################################################
161
162 #
163 #
164 # DATABASE SETUP
165 #
166
167 #
168 # specify your database
169
170 Database.poolMin=1
171 Database.poolMax=10
172 Database.poolResetTime=1.0
173 Database.PoolLog=log/pool.log
174 Database.Limit=20
175 Database.Username=postgres
176 Database.Password=
177 Database.Host=localhost
178 Database.Name=Mir
179
180 #
181 # this sets the adaptor to be used
182
183 Database.Adaptor=mir.storage.DatabaseAdaptorPostgresql
184 Database.Logfile=log/dbentity.log
185
186 #
187 # configuration for adaptor mysql
188 # In this example, "Mir" is the dbname
189
190 Adaptor.MySQL.URL=jdbc:mysql://localhost:3306/Mir
191 Adaptor.MySQL.Driver=org.gjt.mm.mysql.Driver
192
193 #
194 # configuration for adaptor postgres
195 # In this example, "Mir" is the dbname
196
197 Adaptor.PostgreSQL.URL=jdbc:postgresql://localhost:5432/Mir
198 Adaptor.PostgreSQL.Driver=org.postgresql.Driver
199
200 #
201 # should be explained .)
202 #
203
204 # how many articles should be shown on a list-page
205 Lists.Max.Items=10
206
207 HTMLTemplateProcessor.Logfile=log/htmlprocess.log
208 HTMLTemplateProcessor.Dir=templates
209
210 ServletModule.Producer.Logfile=log/producer.log
211 Entity.Logfile=log/dbentity.log
212
213 #
214 # Servlet / Module configurations
215 #
216
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=admin/login.template
226
227 ServletModule.Schwerpunkt.ConfirmTemplate=admin/confirm.template
228 ServletModule.Schwerpunkt.ObjektTemplate=admin/feature.template
229 ServletModule.Schwerpunkt.ListTemplate=admin/featurelist.template
230 ServletModule.Schwerpunkt.Logfile=log/mir.log
231 Module.Schwerpunkt.Logfile=log/mir.log
232
233 ServletModule.Feature.ConfirmTemplate=admin/confirm.template
234 ServletModule.Feature.ObjektTemplate=admin/schwerpunkt.template
235 ServletModule.Feature.ListTemplate=admin/schwerpunktlist.template
236 ServletModule.Feature.Logfile=log/mir.log
237 Module.Feature.Logfile=log/mir.log
238
239 ServletModule.Themen.ConfirmTemplate=admin/confirm.template
240 ServletModule.Themen.ObjektTemplate=admin/topic.template
241 ServletModule.Themen.ListTemplate=admin/topiclist.template
242 ServletModule.Themen.Logfile=log/mir.log
243 Module.Themen.Logfile=log/mir.log
244
245 ServletModule.LinksImcs.ConfirmTemplate=admin/confirm.template
246 ServletModule.LinksImcs.ObjektTemplate=admin/linksimcs.template
247 ServletModule.LinksImcs.ListTemplate=admin/linksimcslist.template
248 ServletModule.LinksImcs.Logfile=log/mir.log
249 Module.LinksImcs.Logfile=log/mir.log
250
251 ServletModule.Users.ConfirmTemplate=admin/confirm.template
252 ServletModule.Users.ObjektTemplate=admin/user.template
253 ServletModule.Users.ListTemplate=admin/userlist.template
254 ServletModule.Users.Logfile=log/mir.log
255 Module.Users.Logfile=log/mir.log
256
257 ServletModule.Images.ConfirmTemplate=admin/confirm.template
258 ServletModule.Images.ObjektTemplate=admin/image.template
259 ServletModule.Images.ListTemplate=admin/imagelist.template
260 ServletModule.Images.Logfile=log/mir.log
261 Module.Images.Logfile=log/mir.log
262
263 Module.UploadedMedia.Logfile=log/mir.log
264
265 ServletModule.Audio.ConfirmTemplate=admin/confirm.template
266 ServletModule.Audio.ObjektTemplate=admin/audio.template
267 ServletModule.Audio.ListTemplate=admin/audiolist.template
268 ServletModule.Audio.Logfile=log/mir.log
269
270 ServletModule.Video.ConfirmTemplate=admin/confirm.template
271 ServletModule.Video.ObjektTemplate=admin/video.template
272 ServletModule.Video.ListTemplate=admin/videolist.template
273 ServletModule.Video.Logfile=log/mir.log
274
275 ServletModule.OtherMedia.ConfirmTemplate=admin/confirm.template
276 ServletModule.OtherMedia.ObjektTemplate=admin/media.template
277 ServletModule.OtherMedia.ListTemplate=admin/medialist.template
278 ServletModule.OtherMedia.Logfile=log/mir.log
279
280 ServletModule.Content.ConfirmTemplate=admin/confirm.template
281 ServletModule.Content.ObjektTemplate=admin/content.template
282 ServletModule.Content.ListTemplate=admin/contentlist.template
283 ServletModule.Content.Logfile=log/mir.log
284 Module.Content.Logfile=log/mir.log
285
286 ServletModule.Mediafolder.ConfirmTemplate=admin/confirm.template
287 ServletModule.Mediafolder.ObjektTemplate=admin/mediafolder.template
288 ServletModule.Mediafolder.ListTemplate=admin/mediafolderlist.template
289 ServletModule.Mediafolder.Logfile=log/mir.log
290 Module.Mediafolder.Logfile=log/mir.log
291
292 #
293 # config used for OpenIndy
294 ServletModule.OpenIndy.CommentTemplate=open/comment.template
295 ServletModule.OpenIndy.CommentDoneTemplate=open/comment_done.template
296 ServletModule.OpenIndy.CommentDupeTemplate=open/comment_dupe.template
297 ServletModule.OpenIndy.PostingTemplate=open/posting.template
298 ServletModule.OpenIndy.PostingDoneTemplate=open/posting_done.template
299 ServletModule.OpenIndy.PostingDupeTemplate=open/posting_dupe.template
300 ServletModule.OpenIndy.Logfile=log/openindy.log
301
302 #
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=admin/confirm.template
307 ServletModule.Comment.ObjektTemplate=admin/comment.template
308 ServletModule.Comment.ListTemplate=admin/commentlist.template
309
310 #
311 # config for ServletModuleHidden - lists all hidden articles of one month
312 ServletModule.Hidden.Logfile=log/hidden.log
313 ServletModule.Hidden.ListTemplate=admin/hiddenlist.template
314
315
316 #
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=admin/confirm.template
321 ServletModule.Breaking.ObjektTemplate=admin/breaking.template
322 ServletModule.Breaking.ListTemplate=admin/breakinglist.template
323
324 #
325 # config for Breaking - editing text files
326 ServletModule.FileEdit.Logfile=log/fileedit.log
327 ServletModule.FileEdit.ConfirmTemplate=admin/confirm.template
328 ServletModule.FileEdit.ObjektTemplate=admin/fileedit.template
329 ServletModule.FileEdit.ListTemplate=admin/fileeditlist.template
330
331
332
333 #
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=admin/confirm.template
338 ServletModule.Messages.ObjektTemplate=admin/message.template
339 ServletModule.Messages.ListTemplate=admin/messagelist.template
340
341 #
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=admin/confirm.template
346 ServletModule.Language.ObjektTemplate=admin/language.template
347 ServletModule.Language.ListTemplate=admin/languagelist.template
348
349
350 #
351 # producer-related configs below
352 #
353
354 Producer.ExtLinkName=extlink.gif
355 Producer.IntLinkName=intlink.gif
356 Producer.MailLinkName=maillink.gif
357 Producer.Logfile=log/producer.log
358
359 Producer.Navigation.Template=producer/navigation.template
360
361 Producer.Content.Template=producer/content.template
362 Producer.Content.Batchsize=10
363
364 Producer.PrintableContent.Template=producer/printablecontent.template
365 Producer.PrintableContent.html2foStyleSheetName=producer/html2fo.xsl
366
367 Producer.Startseite.Template=producer/startseite.template
368 Producer.Startseite.Entries=7
369 Producer.Startseite.Pages=10
370 Producer.Startseite.Termine=5
371
372 Producer.Themen.Template=producer/themen.template
373 Producer.Themen.Entries=7
374 Producer.Themen.Pages=3
375
376 Producer.Schwerpunkte.Template=producer/schwerpunkte.template
377 Producer.Schwerpunkte.Entries=7
378 Producer.Schwerpunkte.Pages=3
379
380 Producer.Overview.MonthTemplate=producer/ov_month.template
381 Producer.Overview.YearTemplate=producer/ov_year.template
382
383 Producer.List.Template=producer/list.template
384 Producer.TopicList.Template=producer/topiclist.template
385 Producer.OpenPosting.Template=producer/openposting.template
386 Producer.FeatureList.Template=producer/featurelist.template
387
388 Producer.StartPage.Template=producer/startpage.template
389 Producer.FeaturesRSS.Template=producer/featuresRSS.template
390 Producer.StartPage.Items=10
391 Producer.StartPage.Newswire=30
392
393
394 # todo: do we need those?
395
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
402 ClearXslCache=no