live debugging: finding a nullpointer
[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 #
34 #
35 # GENERAL SETUP
36 #
37
38 Mir.Version=pre-1.0
39 ClearXslCache=no
40 StandardLanguage=de
41 DirectOpenposting=yes
42
43 #note that you can't make pdf's without making fo's
44 GenerateFO=yes
45 GeneratePDF=yes
46
47 #use rsync to mirror the website to a remote-host
48 Rsync=no
49 Rsync.Script.Path=/var/www/bin/rsync-copy
50
51
52
53 #
54 #
55 # STATIC SITE CONFIG
56 #
57
58 # the url of the static site
59 Producer.ProductionHost=http://indy.code-fu.de
60
61 # The above URL points to the following directory, in which
62 # the generated HTML pages will be stored
63 Producer.StorageRoot=/pub/Dokumente/Indymedia/de-tech/Mir/produced
64
65
66
67
68 #
69 #
70 # DYNAMIC SITE CONFIG
71 #
72
73 # the url of the openposting-servlet
74 Producer.OpenAction=http://indy.code-fu.de/Mir/servlet/OpenMir
75
76
77 # fill this variable if the pages should not be saved directly
78 # in the Producer.StorageRoot. then the pages will be saved
79 # in this subdirectory
80 Producer.DocRoot=
81
82
83 # this is the name of the subdirectory where the image-dir
84 # will be linked to.
85 Producer.ImageRoot=/img
86
87
88 # the url of the video-server
89 Producer.Video.Host=http://indy.code-fu.de/video
90
91 # the url of the audio-server
92 Producer.Audio.Host=http://indy.code-fu.de/audio
93
94 # the url of the image-server
95 Producer.Image.Host=http://indy.code-fu.de/images
96
97 # the url of the media-server
98 Producer.Media.Host=http://indy.code-fu.de/media
99
100 # the url of the real-media-server
101 Producer.RealMedia.Host=rtsp://some.media.server/somedir/
102
103
104 # image specific storage directories
105 # absolute directory, where the images are saved
106 Producer.Image.Path=/pub/Dokumente/Indymedia/de-tech/Mir/produced/images/
107
108 # media specific storage directories
109 # absolute directory, where the media files are saved
110 Producer.Media.Path=/pub/Dokumente/Indymedia/de-tech/Mir/produced/media
111
112 # absolute directory, where the realmedia data files(ra and rm) are saved
113 # the ram files which point to the RealMedia.Host get saved in the regular Media dir
114 # this should make rsyncing to a separate streaming server much easier
115 Producer.RealMedia.Path=/pub/Dokumente/rtsp
116
117 # relativ directory, where the thumbnails will be saved
118 Producer.Image.IconPath=/icon
119
120 # Tiny Icons for the media types on the newswire summary.
121 # (right hand side of start page)
122 Producer.Icon.TinyImage=photo_small.gif
123 Producer.Icon.TinyAudio=audio_small.gif
124 Producer.Icon.TinyVideo=video_small.gif
125 Producer.Icon.TinyText=text_small.gif
126
127 #Medium sized icons used at various places
128 Producer.Icon.BigImage=photo_big.gif
129 Producer.Icon.BigAudio=audio_big.gif
130 Producer.Icon.BigVideo=video_big.gif
131 Producer.Icon.BigText=text_big.gif
132
133
134
135 #
136 # edit with caution below this line
137 ######################################################################
138
139 #
140 #
141 # DATABASE SETUP
142 #
143
144 #
145 # specify your database
146
147 Database.poolMin=1
148 Database.poolMax=10
149 Database.poolResetTime=1.0
150 Database.PoolLog=log/pool.log
151 Database.Limit=20
152 Database.Username=postgres
153 Database.Password=
154 Database.Host=localhost
155 Database.Name=Mir
156
157 #
158 # this sets the adaptor to be used
159
160 Database.Adaptor=mir.storage.DatabaseAdaptorPostgresql
161 Database.Logfile=log/dbentity.log
162
163 #
164 # configuration for adaptor mysql
165 # In this example, "Mir" is the dbname
166
167 Adaptor.MySQL.URL=jdbc:mysql://localhost:3306/Mir
168 Adaptor.MySQL.Driver=org.gjt.mm.mysql.Driver
169
170 #
171 # configuration for adaptor postgres
172 # In this example, "Mir" is the dbname
173
174 Adaptor.PostgreSQL.URL=jdbc:postgresql://localhost:5432/Mir
175 Adaptor.PostgreSQL.Driver=org.postgresql.Driver
176
177 #
178 # should be explained .)
179 #
180
181 # how many articles should be shown on a list-page
182 Lists.Max.Items=10
183
184 HTMLTemplateProcessor.Logfile=log/htmlprocess.log
185 HTMLTemplateProcessor.Dir=templates
186
187 ServletModule.Producer.Logfile=log/producer.log
188 Entity.Logfile=log/dbentity.log
189
190 #
191 # Servlet / Module configurations
192 #
193
194 Mir.Logfile=log/mir.log
195 Mir.ErrorTemplate=error.template
196 Mir.UserErrorTemplate=usererror.template
197 Mir.LoginTemplate=admin/login.template
198
199 ServletModule.Schwerpunkt.ConfirmTemplate=admin/confirm.template
200 ServletModule.Schwerpunkt.ObjektTemplate=admin/feature.template
201 ServletModule.Schwerpunkt.ListTemplate=admin/featurelist.template
202 ServletModule.Schwerpunkt.Logfile=log/mir.log
203 Module.Schwerpunkt.Logfile=log/mir.log
204
205 ServletModule.Feature.ConfirmTemplate=admin/confirm.template
206 ServletModule.Feature.ObjektTemplate=admin/schwerpunkt.template
207 ServletModule.Feature.ListTemplate=admin/schwerpunktlist.template
208 ServletModule.Feature.Logfile=log/mir.log
209 Module.Feature.Logfile=log/mir.log
210
211 ServletModule.Themen.ConfirmTemplate=admin/confirm.template
212 ServletModule.Themen.ObjektTemplate=admin/topic.template
213 ServletModule.Themen.ListTemplate=admin/topiclist.template
214 ServletModule.Themen.Logfile=log/mir.log
215 Module.Themen.Logfile=log/mir.log
216
217 ServletModule.LinksImcs.ConfirmTemplate=admin/confirm.template
218 ServletModule.LinksImcs.ObjektTemplate=admin/linksimcs.template
219 ServletModule.LinksImcs.ListTemplate=admin/linksimcslist.template
220 ServletModule.LinksImcs.Logfile=log/mir.log
221 Module.LinksImcs.Logfile=log/mir.log
222
223 ServletModule.Users.ConfirmTemplate=admin/confirm.template
224 ServletModule.Users.ObjektTemplate=admin/user.template
225 ServletModule.Users.ListTemplate=admin/userlist.template
226 ServletModule.Users.Logfile=log/mir.log
227 Module.Users.Logfile=log/mir.log
228
229 ServletModule.Images.ConfirmTemplate=admin/confirm.template
230 ServletModule.Images.ObjektTemplate=admin/image.template
231 ServletModule.Images.ListTemplate=admin/imagelist.template
232 ServletModule.Images.Logfile=log/mir.log
233 Module.Images.Logfile=log/mir.log
234
235 Module.UploadedMedia.Logfile=log/mir.log
236
237 ServletModule.Audio.ConfirmTemplate=admin/confirm.template
238 ServletModule.Audio.ObjektTemplate=admin/audio.template
239 ServletModule.Audio.ListTemplate=admin/audiolist.template
240 ServletModule.Audio.Logfile=log/mir.log
241
242 ServletModule.Video.ConfirmTemplate=admin/confirm.template
243 ServletModule.Video.ObjektTemplate=admin/video.template
244 ServletModule.Video.ListTemplate=admin/videolist.template
245 ServletModule.Video.Logfile=log/mir.log
246
247 ServletModule.OtherMedia.ConfirmTemplate=admin/confirm.template
248 ServletModule.OtherMedia.ObjektTemplate=admin/media.template
249 ServletModule.OtherMedia.ListTemplate=admin/medialist.template
250 ServletModule.OtherMedia.Logfile=log/mir.log
251
252 ServletModule.Content.ConfirmTemplate=admin/confirm.template
253 ServletModule.Content.ObjektTemplate=admin/content.template
254 ServletModule.Content.ListTemplate=admin/contentlist.template
255 ServletModule.Content.Logfile=log/mir.log
256 Module.Content.Logfile=log/mir.log
257
258 ServletModule.Mediafolder.ConfirmTemplate=admin/confirm.template
259 ServletModule.Mediafolder.ObjektTemplate=admin/mediafolder.template
260 ServletModule.Mediafolder.ListTemplate=admin/mediafolderlist.template
261 ServletModule.Mediafolder.Logfile=log/mir.log
262 Module.Mediafolder.Logfile=log/mir.log
263
264 #
265 # config used for OpenIndy
266 ServletModule.OpenIndy.CommentTemplate=open/comment.template
267 ServletModule.OpenIndy.CommentDoneTemplate=open/comment_done.template
268 ServletModule.OpenIndy.CommentDupeTemplate=open/comment_dupe.template
269 ServletModule.OpenIndy.PostingTemplate=open/posting.template
270 ServletModule.OpenIndy.PostingDoneTemplate=open/posting_done.template
271 ServletModule.OpenIndy.PostingDupeTemplate=open/posting_dupe.template
272 ServletModule.OpenIndy.Logfile=log/openindy.log
273
274 #
275 # config for ServletModuleComment - browsing/editing/deleting comments
276 Module.Comment.Logfile=log/comment.log
277 ServletModule.Comment.Logfile=log/comment.log
278 ServletModule.Comment.ConfirmTemplate=admin/confirm.template
279 ServletModule.Comment.ObjektTemplate=admin/comment.template
280 ServletModule.Comment.ListTemplate=admin/commentlist.template
281
282 #
283 # config for Breaking - browsing/editing/deleting breaking news
284 Module.Breaking.Logfile=log/breaking.log
285 ServletModule.Breaking.Logfile=log/comment.log
286 ServletModule.Breaking.ConfirmTemplate=admin/confirm.template
287 ServletModule.Breaking.ObjektTemplate=admin/breaking.template
288 ServletModule.Breaking.ListTemplate=admin/breakinglist.template
289
290
291 #
292 # config for messages - browsing/editing/deleting internal messages
293 Module.Messages.Logfile=log/message.log
294 ServletModule.Messages.Logfile=log/comment.log
295 ServletModule.Messages.ConfirmTemplate=admin/confirm.template
296 ServletModule.Messages.ObjektTemplate=admin/message.template
297 ServletModule.Messages.ListTemplate=admin/messagelist.template
298
299 #
300 # config for languages - browsing/editing/deleting languages
301 Module.Language.Logfile=log/message.log
302 ServletModule.Language.Logfile=log/mir.log
303 ServletModule.Language.ConfirmTemplate=admin/confirm.template
304 ServletModule.Language.ObjektTemplate=admin/language.template
305 ServletModule.Language.ListTemplate=admin/languagelist.template
306
307
308 #
309 # producer-related configs below
310 #
311
312 Producer.ExtLinkName=extlink.gif
313 Producer.IntLinkName=intlink.gif
314 Producer.MailLinkName=maillink.gif
315 Producer.Logfile=log/producer.log
316
317 Producer.Navigation.Template=producer/navigation.template
318
319 Producer.Content.Template=producer/content.template
320 Producer.Content.Batchsize=10
321
322 Producer.PrintableContent.Template=producer/printablecontent.template
323 Producer.PrintableContent.html2foStyleSheetName=producer/html2fo.xsl
324
325 Producer.Startseite.Template=producer/startseite.template
326 Producer.Startseite.Entries=7
327 Producer.Startseite.Pages=10
328 Producer.Startseite.Termine=5
329
330 Producer.Themen.Template=producer/themen.template
331 Producer.Themen.Entries=7
332 Producer.Themen.Pages=3
333
334 Producer.Schwerpunkte.Template=producer/schwerpunkte.template
335 Producer.Schwerpunkte.Entries=7
336 Producer.Schwerpunkte.Pages=3
337
338 Producer.Overview.MonthTemplate=producer/ov_month.template
339 Producer.Overview.YearTemplate=producer/ov_year.template
340
341 Producer.List.Template=producer/list.template
342 Producer.TopicList.Template=producer/topiclist.template
343 Producer.OpenPosting.Template=producer/openposting.template
344 Producer.FeatureList.Template=producer/featurelist.template
345
346 Producer.StartPage.Template=producer/startpage.template
347 Producer.StartPage.Items=10
348 Producer.StartPage.Newswire=30
349
350
351 # todo: do we need those?
352
353 Xsl.Content=producer/content.xsl
354 Xsl.Fo.Content=producer/frontpage_fo.xsl
355 Xsl.StartPage=producer/index.xsl
356 Xsl.TopicList=producer/topic.xsl
357 Xsl.OpenList=producer/open.xsl
358 Xsl.Wap=producer/wml2.xsl