yet another rewrite of the producers...
[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 # The above URL points to the following 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 # fill this variable if the pages should not be saved directly
85 # in the Producer.StorageRoot. then the pages will be saved
86 # in this subdirectory
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 Mir.Logfile=log/mir.log
202 Mir.ErrorTemplate=error.template
203 Mir.UserErrorTemplate=usererror.template
204 Mir.LoginTemplate=admin/login.template
205
206 ServletModule.Schwerpunkt.ConfirmTemplate=admin/confirm.template
207 ServletModule.Schwerpunkt.ObjektTemplate=admin/feature.template
208 ServletModule.Schwerpunkt.ListTemplate=admin/featurelist.template
209 ServletModule.Schwerpunkt.Logfile=log/mir.log
210 Module.Schwerpunkt.Logfile=log/mir.log
211
212 ServletModule.Feature.ConfirmTemplate=admin/confirm.template
213 ServletModule.Feature.ObjektTemplate=admin/schwerpunkt.template
214 ServletModule.Feature.ListTemplate=admin/schwerpunktlist.template
215 ServletModule.Feature.Logfile=log/mir.log
216 Module.Feature.Logfile=log/mir.log
217
218 ServletModule.Themen.ConfirmTemplate=admin/confirm.template
219 ServletModule.Themen.ObjektTemplate=admin/topic.template
220 ServletModule.Themen.ListTemplate=admin/topiclist.template
221 ServletModule.Themen.Logfile=log/mir.log
222 Module.Themen.Logfile=log/mir.log
223
224 ServletModule.LinksImcs.ConfirmTemplate=admin/confirm.template
225 ServletModule.LinksImcs.ObjektTemplate=admin/linksimcs.template
226 ServletModule.LinksImcs.ListTemplate=admin/linksimcslist.template
227 ServletModule.LinksImcs.Logfile=log/mir.log
228 Module.LinksImcs.Logfile=log/mir.log
229
230 ServletModule.Users.ConfirmTemplate=admin/confirm.template
231 ServletModule.Users.ObjektTemplate=admin/user.template
232 ServletModule.Users.ListTemplate=admin/userlist.template
233 ServletModule.Users.Logfile=log/mir.log
234 Module.Users.Logfile=log/mir.log
235
236 ServletModule.Images.ConfirmTemplate=admin/confirm.template
237 ServletModule.Images.ObjektTemplate=admin/image.template
238 ServletModule.Images.ListTemplate=admin/imagelist.template
239 ServletModule.Images.Logfile=log/mir.log
240 Module.Images.Logfile=log/mir.log
241
242 Module.UploadedMedia.Logfile=log/mir.log
243
244 ServletModule.Audio.ConfirmTemplate=admin/confirm.template
245 ServletModule.Audio.ObjektTemplate=admin/audio.template
246 ServletModule.Audio.ListTemplate=admin/audiolist.template
247 ServletModule.Audio.Logfile=log/mir.log
248
249 ServletModule.Video.ConfirmTemplate=admin/confirm.template
250 ServletModule.Video.ObjektTemplate=admin/video.template
251 ServletModule.Video.ListTemplate=admin/videolist.template
252 ServletModule.Video.Logfile=log/mir.log
253
254 ServletModule.OtherMedia.ConfirmTemplate=admin/confirm.template
255 ServletModule.OtherMedia.ObjektTemplate=admin/media.template
256 ServletModule.OtherMedia.ListTemplate=admin/medialist.template
257 ServletModule.OtherMedia.Logfile=log/mir.log
258
259 ServletModule.Content.ConfirmTemplate=admin/confirm.template
260 ServletModule.Content.ObjektTemplate=admin/content.template
261 ServletModule.Content.ListTemplate=admin/contentlist.template
262 ServletModule.Content.Logfile=log/mir.log
263 Module.Content.Logfile=log/mir.log
264
265 ServletModule.Mediafolder.ConfirmTemplate=admin/confirm.template
266 ServletModule.Mediafolder.ObjektTemplate=admin/mediafolder.template
267 ServletModule.Mediafolder.ListTemplate=admin/mediafolderlist.template
268 ServletModule.Mediafolder.Logfile=log/mir.log
269 Module.Mediafolder.Logfile=log/mir.log
270
271 #
272 # config used for OpenIndy
273 ServletModule.OpenIndy.CommentTemplate=open/comment.template
274 ServletModule.OpenIndy.CommentDoneTemplate=open/comment_done.template
275 ServletModule.OpenIndy.CommentDupeTemplate=open/comment_dupe.template
276 ServletModule.OpenIndy.PostingTemplate=open/posting.template
277 ServletModule.OpenIndy.PostingDoneTemplate=open/posting_done.template
278 ServletModule.OpenIndy.PostingDupeTemplate=open/posting_dupe.template
279 ServletModule.OpenIndy.Logfile=log/openindy.log
280
281 #
282 # config for ServletModuleComment - browsing/editing/deleting comments
283 Module.Comment.Logfile=log/comment.log
284 ServletModule.Comment.Logfile=log/comment.log
285 ServletModule.Comment.ConfirmTemplate=admin/confirm.template
286 ServletModule.Comment.ObjektTemplate=admin/comment.template
287 ServletModule.Comment.ListTemplate=admin/commentlist.template
288
289 #
290 # config for Breaking - browsing/editing/deleting breaking news
291 Module.Breaking.Logfile=log/breaking.log
292 ServletModule.Breaking.Logfile=log/comment.log
293 ServletModule.Breaking.ConfirmTemplate=admin/confirm.template
294 ServletModule.Breaking.ObjektTemplate=admin/breaking.template
295 ServletModule.Breaking.ListTemplate=admin/breakinglist.template
296
297
298 #
299 # config for messages - browsing/editing/deleting internal messages
300 Module.Messages.Logfile=log/message.log
301 ServletModule.Messages.Logfile=log/comment.log
302 ServletModule.Messages.ConfirmTemplate=admin/confirm.template
303 ServletModule.Messages.ObjektTemplate=admin/message.template
304 ServletModule.Messages.ListTemplate=admin/messagelist.template
305
306 #
307 # config for languages - browsing/editing/deleting languages
308 Module.Language.Logfile=log/message.log
309 ServletModule.Language.Logfile=log/mir.log
310 ServletModule.Language.ConfirmTemplate=admin/confirm.template
311 ServletModule.Language.ObjektTemplate=admin/language.template
312 ServletModule.Language.ListTemplate=admin/languagelist.template
313
314
315 #
316 # producer-related configs below
317 #
318
319 Producer.ExtLinkName=extlink.gif
320 Producer.IntLinkName=intlink.gif
321 Producer.MailLinkName=maillink.gif
322 Producer.Logfile=log/producer.log
323
324 Producer.Navigation.Template=producer/navigation.template
325
326 Producer.Content.Template=producer/content.template
327 Producer.Content.Batchsize=10
328
329 Producer.PrintableContent.Template=producer/printablecontent.template
330 Producer.PrintableContent.html2foStyleSheetName=producer/html2fo.xsl
331
332 Producer.Startseite.Template=producer/startseite.template
333 Producer.Startseite.Entries=7
334 Producer.Startseite.Pages=10
335 Producer.Startseite.Termine=5
336
337 Producer.Themen.Template=producer/themen.template
338 Producer.Themen.Entries=7
339 Producer.Themen.Pages=3
340
341 Producer.Schwerpunkte.Template=producer/schwerpunkte.template
342 Producer.Schwerpunkte.Entries=7
343 Producer.Schwerpunkte.Pages=3
344
345 Producer.Overview.MonthTemplate=producer/ov_month.template
346 Producer.Overview.YearTemplate=producer/ov_year.template
347
348 Producer.List.Template=producer/list.template
349 Producer.TopicList.Template=producer/topiclist.template
350 Producer.OpenPosting.Template=producer/openposting.template
351 Producer.FeatureList.Template=producer/featurelist.template
352
353 Producer.StartPage.Template=producer/startpage.template
354 Producer.FeaturesRSS.Template=producer/featuresRSS.template
355 Producer.StartPage.Items=10
356 Producer.StartPage.Newswire=30
357
358
359 # todo: do we need those?
360
361 Xsl.Content=producer/content.xsl
362 Xsl.Fo.Content=producer/frontpage_fo.xsl
363 Xsl.StartPage=producer/index.xsl
364 Xsl.TopicList=producer/topic.xsl
365 Xsl.OpenList=producer/open.xsl
366 Xsl.Wap=producer/wml2.xsl