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