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