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