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