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