big media merge ~75% done.. still needs some tweaks, more docs later.
[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 # image specific storage directories
95 # absolute directory, where the images are saved
96 Producer.Image.Path=/pub/Dokumente/Indymedia/de-tech/Mir/produced/images
97
98 # media specific storage directories
99 # absolute directory, where the media files are saved
100 Producer.Media.Path=/pub/Dokumente/Indymedia/de-tech/Mir/produced/media
101
102 # relativ directory, where the thumbnails will be saved
103 Producer.Image.IconPath=/icon
104
105
106
107 #
108 # edit with caution below this line
109 ######################################################################
110
111 #
112 #
113 # DATABASE SETUP
114 #
115
116 #
117 # specify your database
118
119 Database.poolMin=1
120 Database.poolMax=10
121 Database.poolResetTime=1.0
122 Database.PoolLog=log/pool.log
123 Database.Limit=20
124 Database.Username=postgres
125 Database.Password=
126 Database.Host=localhost
127
128 #
129 # this sets the adaptor to be used
130
131 Database.Adaptor=mir.storage.DatabaseAdaptorPostgresql
132 Database.Logfile=log/dbentity.log
133
134 #
135 # configuration for adaptor mysql
136 # In this example, "Mir" is the dbname
137
138 Adaptor.MySQL.URL=jdbc:mysql://localhost:3306/Mir
139 Adaptor.MySQL.Driver=org.gjt.mm.mysql.Driver
140
141 #
142 # configuration for adaptor postgres
143 # In this example, "Mir" is the dbname
144
145 Adaptor.PostgreSQL.URL=jdbc:postgresql://localhost:5432/Mir
146 Adaptor.PostgreSQL.Driver=org.postgresql.Driver
147
148 #
149 # should be explained .)
150 #
151
152 # how many articles should be shown on a list-page
153 Lists.Max.Items=10
154
155 HTMLTemplateProcessor.Logfile=log/htmlprocess.log
156 HTMLTemplateProcessor.Dir=templates
157
158 ServletModule.Producer.Logfile=log/producer.log
159 Entity.Logfile=log/dbentity.log
160
161
162 #
163 # Servlet / Module configurations
164 #
165
166 Mir.Logfile=log/mir.log
167 Mir.ErrorTemplate=fehler.template
168
169 ServletModule.Schwerpunkt.ConfirmTemplate=confirm.template
170 ServletModule.Schwerpunkt.ObjektTemplate=schwerpunkt.template
171 ServletModule.Schwerpunkt.ListTemplate=schwerpunktlist.template
172 ServletModule.Schwerpunkt.Logfile=log/mir.log
173 Module.Schwerpunkt.Logfile=log/mir.log
174
175 ServletModule.Feature.ConfirmTemplate=confirm.template
176 ServletModule.Feature.ObjektTemplate=schwerpunkt.template
177 ServletModule.Feature.ListTemplate=schwerpunktlist.template
178 ServletModule.Feature.Logfile=log/mir.log
179 Module.Feature.Logfile=log/mir.log
180
181 ServletModule.Themen.ConfirmTemplate=confirm.template
182 ServletModule.Themen.ObjektTemplate=themen.template
183 ServletModule.Themen.ListTemplate=themenlist.template
184 ServletModule.Themen.Logfile=log/mir.log
185 Module.Themen.Logfile=log/mir.log
186
187 ServletModule.LinksImcs.ConfirmTemplate=confirm.template
188 ServletModule.LinksImcs.ObjektTemplate=linksimcs.template
189 ServletModule.LinksImcs.ListTemplate=linksimcslist.template
190 ServletModule.LinksImcs.Logfile=log/mir.log
191 Module.LinksImcs.Logfile=log/mir.log
192
193 ServletModule.Gruppen.ConfirmTemplate=confirm.template
194 ServletModule.Gruppen.ObjektTemplate=gruppen.template
195 ServletModule.Gruppen.ListTemplate=gruppenlist.template
196 ServletModule.Gruppen.Logfile=log/mir.log
197 Module.Gruppen.Logfile=log/mir.log
198
199 ServletModule.Users.ConfirmTemplate=confirm.template
200 ServletModule.Users.ObjektTemplate=users.template
201 ServletModule.Users.ListTemplate=userslist.template
202 ServletModule.Users.Logfile=log/mir.log
203 Module.Users.Logfile=log/mir.log
204
205 ServletModule.Bilder.ConfirmTemplate=confirm.template
206 ServletModule.Bilder.ObjektTemplate=bilder.template
207 ServletModule.Bilder.ListTemplate=bilderlist.template
208 ServletModule.Bilder.Logfile=log/mir.log
209 Module.Bilder.Logfile=log/mir.log
210
211 ServletModule.Content.ConfirmTemplate=confirm.template
212 ServletModule.Content.ObjektTemplate=content.template
213 ServletModule.Content.OpTemplate=oplist.template
214 ServletModule.Content.ListTemplate=contentlist.template
215 ServletModule.Content.Logfile=log/mir.log
216 Module.Content.Logfile=log/mir.log
217
218 ServletModule.Mediafolder.ConfirmTemplate=confirm.template
219 ServletModule.Mediafolder.ObjektTemplate=mediafolder.template
220 ServletModule.Mediafolder.ListTemplate=mediafolderlist.template
221 ServletModule.Mediafolder.Logfile=log/mir.log
222 Module.Mediafolder.Logfile=log/mir.log
223
224 #
225 # config used for OpenIndy
226 ServletModule.OpenIndy.CommentTemplate=open/comment.template
227 ServletModule.OpenIndy.CommentDoneTemplate=open/comment_done.template
228 ServletModule.OpenIndy.CommentDupeTemplate=open/comment_dupe.template
229 ServletModule.OpenIndy.PostingTemplate=open/posting.template
230 ServletModule.OpenIndy.PostingDoneTemplate=open/posting_done.template
231 ServletModule.OpenIndy.Logfile=log/openindy.log
232
233 #
234 # config for ServletModuleComment - browsing/editing/deleting comments
235 Module.Comment.Logfile=log/comment.log
236 ServletModule.Comment.Logfile=log/comment.log
237 ServletModule.Comment.ConfirmTemplate=confirm.template
238 ServletModule.Comment.ObjektTemplate=comment.template
239 ServletModule.Comment.ListTemplate=commentlist.template
240
241 #
242 # config for Breaking - browsing/editing/deleting breaking news
243 Module.Breaking.Logfile=log/breaking.log
244 ServletModule.Breaking.Logfile=log/comment.log
245 ServletModule.Breaking.ConfirmTemplate=confirm.template
246 ServletModule.Breaking.ObjektTemplate=breaking.template
247 ServletModule.Breaking.ListTemplate=breakinglist.template
248
249
250 #
251 # config for messages - browsing/editing/deleting internal messages
252 Module.Messages.Logfile=log/message.log
253 ServletModule.Messages.Logfile=log/comment.log
254 ServletModule.Messages.ConfirmTemplate=confirm.template
255 ServletModule.Messages.ObjektTemplate=message.template
256 ServletModule.Messages.ListTemplate=messagelist.template
257
258 #
259 # config for languages - browsing/editing/deleting internal messages
260 Module.Language.Logfile=log/message.log
261 ServletModule.Language.Logfile=log/mir.log
262 ServletModule.Language.ConfirmTemplate=confirm.template
263 ServletModule.Language.ObjektTemplate=language.template
264 ServletModule.Language.ListTemplate=languagelist.template
265
266 #
267 # producer-related configs below
268 #
269
270 Producer.ExtLinkName=extlink.gif
271 Producer.IntLinkName=intlink.gif
272 Producer.MailLinkName=maillink.gif
273 Producer.Logfile=log/producer.log
274
275 Producer.Navigation.Template=producer/navigation.template
276
277 Producer.Content.Template=producer/content.template
278 Producer.Content.Batchsize=20
279
280 Producer.Startseite.Template=producer/startseite.template
281 Producer.Startseite.Entries=7
282 Producer.Startseite.Pages=10
283 Producer.Startseite.Termine=5
284
285 Producer.Themen.Template=producer/themen.template
286 Producer.Themen.Entries=7
287 Producer.Themen.Pages=3
288
289 Producer.Schwerpunkte.Template=producer/schwerpunkte.template
290 Producer.Schwerpunkte.Entries=7
291 Producer.Schwerpunkte.Pages=3
292
293 Producer.Overview.MonthTemplate=producer/ov_month.template
294 Producer.Overview.YearTemplate=producer/ov_year.template
295
296 Producer.List.Template=producer/list.template
297 Producer.TopicList.Template=producer/topiclist.template
298 Producer.OpenPosting.Template=producer/openposting.template
299 Producer.FeatureList.Template=producer/featurelist.template
300
301 Producer.StartPage.Template=producer/startpage.template
302 Producer.StartPage.Items=10
303 Producer.StartPage.Newswire=30
304
305 Producer.Wap.Template=producer/wap.template
306 Producer.Wap.Items=10
307
308 Xsl.Content=producer/content.xsl
309 Xsl.Fo.Content=producer/frontpage_fo.xsl
310 Xsl.StartPage=producer/index.xsl
311 Xsl.TopicList=producer/topic.xsl
312 Xsl.OpenList=producer/open.xsl
313 Xsl.Wap=producer/wml2.xsl