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