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