Misc. changes
[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 # 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=templates/producer/producers.xml
55
56 # the templates
57 Mir.Localizer.Producer.GeneratorLibrary= default=freemarker(templates/producer/)
58 Mir.Localizer.Admin.GeneratorLibrary= default=freemarker(templates/admin/)
59 Mir.Localizer.OpenPosting.GeneratorLibrary= default=freemarker(templates/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 mysql
197 # In this example, "Mir" is the dbname
198
199 Adaptor.MySQL.URL=jdbc:mysql://localhost:3306/Mir
200 Adaptor.MySQL.Driver=org.gjt.mm.mysql.Driver
201
202 #
203 # configuration for adaptor postgres
204 # In this example, "Mir" is the dbname
205
206 Adaptor.PostgreSQL.URL=jdbc:postgresql://localhost:5432/Mir
207 Adaptor.PostgreSQL.Driver=org.postgresql.Driver
208
209 #
210 # should be explained .)
211 #
212
213 # how many articles should be shown on a list-page
214 Lists.Max.Items=10
215
216 HTMLTemplateProcessor.Logfile=log/htmlprocess.log
217 HTMLTemplateProcessor.Dir=templates
218
219 ServletModule.Producer.Logfile=log/producer.log
220 Entity.Logfile=log/dbentity.log
221
222 #
223 # Servlet / Module configurations
224 #
225
226 # don't change this unless you really know your i18n.
227 # The default encoding charset used in the written html files as well
228 # as the dynamic output html.
229 # also used for the HTML charset meta tag.
230 Mir.DefaultEncoding=ISO8859_1
231 Mir.Logfile=log/mir.log
232 Mir.ErrorTemplate=error.template
233 Mir.UserErrorTemplate=usererror.template
234 Mir.LoginTemplate=admin/login.template
235 OpenMir.Logfile=log/openindy.log
236
237 ServletModule.Schwerpunkt.ConfirmTemplate=admin/confirm.template
238 ServletModule.Schwerpunkt.ObjektTemplate=admin/feature.template
239 ServletModule.Schwerpunkt.ListTemplate=admin/featurelist.template
240 ServletModule.Schwerpunkt.Logfile=log/mir.log
241 Module.Schwerpunkt.Logfile=log/mir.log
242
243 ServletModule.Feature.ConfirmTemplate=admin/confirm.template
244 ServletModule.Feature.ObjektTemplate=admin/schwerpunkt.template
245 ServletModule.Feature.ListTemplate=admin/schwerpunktlist.template
246 ServletModule.Feature.Logfile=log/mir.log
247 Module.Feature.Logfile=log/mir.log
248
249 ServletModule.Themen.ConfirmTemplate=admin/confirm.template
250 ServletModule.Themen.ObjektTemplate=admin/topic.template
251 ServletModule.Themen.ListTemplate=admin/topiclist.template
252 ServletModule.Themen.Logfile=log/mir.log
253 Module.Themen.Logfile=log/mir.log
254
255 ServletModule.LinksImcs.ConfirmTemplate=admin/confirm.template
256 ServletModule.LinksImcs.ObjektTemplate=admin/linksimcs.template
257 ServletModule.LinksImcs.ListTemplate=admin/linksimcslist.template
258 ServletModule.LinksImcs.Logfile=log/mir.log
259 Module.LinksImcs.Logfile=log/mir.log
260
261 ServletModule.Users.ConfirmTemplate=admin/confirm.template
262 ServletModule.Users.ObjektTemplate=admin/user.template
263 ServletModule.Users.ListTemplate=admin/userlist.template
264 ServletModule.Users.Logfile=log/mir.log
265 Module.Users.Logfile=log/mir.log
266
267 ServletModule.Images.ConfirmTemplate=admin/confirm.template
268 ServletModule.Images.ObjektTemplate=admin/image.template
269 ServletModule.Images.ListTemplate=admin/imagelist.template
270 ServletModule.Images.Logfile=log/mir.log
271 Module.Images.Logfile=log/mir.log
272
273 Module.UploadedMedia.Logfile=log/mir.log
274
275 ServletModule.Audio.ConfirmTemplate=admin/confirm.template
276 ServletModule.Audio.ObjektTemplate=admin/audio.template
277 ServletModule.Audio.ListTemplate=admin/audiolist.template
278 ServletModule.Audio.Logfile=log/mir.log
279
280 ServletModule.Video.ConfirmTemplate=admin/confirm.template
281 ServletModule.Video.ObjektTemplate=admin/video.template
282 ServletModule.Video.ListTemplate=admin/videolist.template
283 ServletModule.Video.Logfile=log/mir.log
284
285 ServletModule.OtherMedia.ConfirmTemplate=admin/confirm.template
286 ServletModule.OtherMedia.ObjektTemplate=admin/media.template
287 ServletModule.OtherMedia.ListTemplate=admin/medialist.template
288 ServletModule.OtherMedia.Logfile=log/mir.log
289
290 ServletModule.Content.ConfirmTemplate=admin/confirm.template
291 ServletModule.Content.ObjektTemplate=admin/content.template
292 ServletModule.Content.ListTemplate=admin/contentlist.template
293 ServletModule.Content.Logfile=log/mir.log
294 Module.Content.Logfile=log/mir.log
295
296 ServletModule.Mediafolder.ConfirmTemplate=admin/confirm.template
297 ServletModule.Mediafolder.ObjektTemplate=admin/mediafolder.template
298 ServletModule.Mediafolder.ListTemplate=admin/mediafolderlist.template
299 ServletModule.Mediafolder.Logfile=log/mir.log
300 Module.Mediafolder.Logfile=log/mir.log
301
302 #
303 # config used for OpenIndy
304 ServletModule.OpenIndy.CommentTemplate=open/comment.template
305 ServletModule.OpenIndy.CommentDoneTemplate=open/comment_done.template
306 ServletModule.OpenIndy.CommentDupeTemplate=open/comment_dupe.template
307 ServletModule.OpenIndy.PostingTemplate=open/posting.template
308 ServletModule.OpenIndy.PostingDoneTemplate=open/posting_done.template
309 ServletModule.OpenIndy.PostingDupeTemplate=open/posting_dupe.template
310 ServletModule.OpenIndy.Logfile=log/openindy.log
311
312 #
313 # config for ServletModuleComment - browsing/editing/deleting comments
314 Module.Comment.Logfile=log/comment.log
315 ServletModule.Comment.Logfile=log/comment.log
316 ServletModule.Comment.ConfirmTemplate=admin/confirm.template
317 ServletModule.Comment.ObjektTemplate=admin/comment.template
318 ServletModule.Comment.ListTemplate=admin/commentlist.template
319
320 #
321 # config for ServletModuleHidden - lists all hidden articles of one month
322 ServletModule.Hidden.Logfile=log/hidden.log
323 ServletModule.Hidden.ListTemplate=admin/hiddenlist.template
324
325
326 #
327 # config for Breaking - browsing/editing/deleting breaking news
328 Module.Breaking.Logfile=log/breaking.log
329 ServletModule.Breaking.Logfile=log/comment.log
330 ServletModule.Breaking.ConfirmTemplate=admin/confirm.template
331 ServletModule.Breaking.ObjektTemplate=admin/breaking.template
332 ServletModule.Breaking.ListTemplate=admin/breakinglist.template
333
334 #
335 # config for Breaking - editing text files
336 ServletModule.FileEdit.Logfile=log/fileedit.log
337 ServletModule.FileEdit.ConfirmTemplate=admin/confirm.template
338 ServletModule.FileEdit.ObjektTemplate=admin/fileedit.template
339 ServletModule.FileEdit.ListTemplate=admin/fileeditlist.template
340
341
342
343 #
344 # config for messages - browsing/editing/deleting internal messages
345 Module.Messages.Logfile=log/message.log
346 ServletModule.Messages.Logfile=log/comment.log
347 ServletModule.Messages.ConfirmTemplate=admin/confirm.template
348 ServletModule.Messages.ObjektTemplate=admin/message.template
349 ServletModule.Messages.ListTemplate=admin/messagelist.template
350
351 #
352 # config for languages - browsing/editing/deleting languages
353 Module.Language.Logfile=log/message.log
354 ServletModule.Language.Logfile=log/mir.log
355 ServletModule.Language.ConfirmTemplate=admin/confirm.template
356 ServletModule.Language.ObjektTemplate=admin/language.template
357 ServletModule.Language.ListTemplate=admin/languagelist.template