changes to the 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
26 #
27 #
28 # GENERAL SETUP
29 #
30
31 ClearXslCache=no
32 StandardLanguage=de
33 DirectOpenposting=yes
34 #use rsync to mirror the website to a remote-host
35 Rsync=no
36 Rsync.Script.Path=/var/www/bin/rsync-copy
37
38
39
40 #
41 #
42 # STATIC SITE CONFIG
43 #
44
45 # the url of the static site
46 Producer.ProductionHost=http://indy.code-fu.de
47
48 # The above URL points to the following directory, in which 
49 # the generated HTML pages will be stored
50 Producer.StorageRoot=/pub/Dokumente/Indymedia/de-tech/Mir/produced
51
52
53
54
55 #
56 #
57 # DYNAMIC SITE CONFIG 
58 #
59
60 # Home is the directory in which the compiled Java binaries are stored.
61 # Think of it as "install directory" of Mir.
62 # This collection of binaries is also referred to as "webapp" in Tomcat
63 # terms.
64 # Because Mir is a collection of servlets, Tomcat has to know where the
65 # servlets reside. So you have to add a link to the below directory in the
66 # webapps directory of Tomcat:
67 # cd /usr/share/tomcat/webapps ; ln -s $Home Mir
68 # where $Home is the below directory and Mir is the first directory level
69 # in HTMLTemplateProcessor.ActionRoot
70 Home=/pub/Dokumente/Indymedia/de-tech/Mir/
71
72 # The following item is the class that is to be invoked by Tomcat for admin
73 # maintainance. It is relative to the webapps directory in Tomcat.
74 # To determine what class file is to be loaded, start in the webapps
75 # directory. In the following config item, replace "/servlet/" by
76 # "/WEB-INF/classes/" and append ".class". This is the name of the class
77 # file to be executed.
78 HTMLTemplateProcessor.ActionRoot=/Mir/servlet/Mir
79
80 HTMLTemplateProcessor.DocRoot=/Mir
81
82 # the url of the openposting-servlet
83 Producer.OpenAction=http://indy.code-fu.de/Mir/servlet/OpenMir
84
85
86 # fill this variable if the pages should not be saved directly
87 # in the Producer.StorageRoot. then the pages will be saved
88 # in this subdirectory
89 Producer.DocRoot=
90
91
92 # this is the name of the subdirectory where the image-dir
93 # will be linked to.
94 Producer.ImageRoot=img
95
96 # the url of the video-server
97 Producer.Video.Host=http://indy.code-fu.de/video
98
99 # the url of the audio-server
100 Producer.Audio.Host=http://indy.code-fu.de/audio
101
102 # the url of the image-server
103 Producer.Image.Host=http://indy.code-fu.de/images
104
105 # image specific storage directories
106 # absolute directory, where the images are saved
107 Producer.Image.Path=/pub/Dokumente/Indymedia/de-tech/Mir/produced/images
108
109 # relativ directory, where the thumbnails will be saved
110 Producer.Image.IconPath=/icon
111
112
113
114 #
115 # edit with caution below this line
116 ######################################################################
117
118 #
119 #
120 # DATABASE SETUP
121 #
122
123 #
124 # specify your database
125
126 Database.poolMin=1
127 Database.poolMax=10
128 Database.poolResetTime=1.0
129 Database.PoolLog=log/pool.log
130 Database.Limit=20
131 Database.Username=postgres
132 Database.Password=
133 Database.Host=localhost
134
135 #
136 # this sets the adaptor to be used
137
138 Database.Adaptor=mir.storage.DatabaseAdaptorPostgresql
139 Database.Logfile=log/dbentity.log
140
141 #
142 # configuration for adaptor mysql
143 # In this example, "mir" is the dbname
144
145 Adaptor.MySQL.URL=jdbc:mysql://localhost:3306/Mir
146 Adaptor.MySQL.Driver=org.gjt.mm.mysql.Driver
147
148 #
149 # configuration for adaptor postgres
150
151 Adaptor.PostgreSQL.URL=jdbc:postgresql://localhost:5432/Mir
152 Adaptor.PostgreSQL.Driver=org.postgresql.Driver
153
154 #
155 # should be explained .)
156 #
157
158 # how many articles should be shown on a list-page
159 Lists.Max.Items=10
160
161 HTMLTemplateProcessor.Logfile=log/htmlprocess.log
162 HTMLTemplateProcessor.Dir=templates
163
164 ServletModule.Producer.Logfile=log/producer.log
165 Entity.Logfile=log/dbentity.log
166
167
168 #
169 # Servlet / Module configurations
170 #
171
172 Mir.Logfile=log/mir.log
173 Mir.ErrorTemplate=fehler.template
174
175 ServletModule.Schwerpunkt.ConfirmTemplate=confirm.template
176 ServletModule.Schwerpunkt.ObjektTemplate=schwerpunkt.template
177 ServletModule.Schwerpunkt.ListTemplate=schwerpunktlist.template
178 ServletModule.Schwerpunkt.Logfile=log/mir.log
179 Module.Schwerpunkt.Logfile=log/mir.log
180
181 ServletModule.Feature.ConfirmTemplate=confirm.template
182 ServletModule.Feature.ObjektTemplate=schwerpunkt.template
183 ServletModule.Feature.ListTemplate=schwerpunktlist.template
184 ServletModule.Feature.Logfile=log/mir.log
185 Module.Feature.Logfile=log/mir.log
186
187 ServletModule.Themen.ConfirmTemplate=confirm.template
188 ServletModule.Themen.ObjektTemplate=themen.template
189 ServletModule.Themen.ListTemplate=themenlist.template
190 ServletModule.Themen.Logfile=log/mir.log
191 Module.Themen.Logfile=log/mir.log
192
193 ServletModule.LinksImcs.ConfirmTemplate=confirm.template
194 ServletModule.LinksImcs.ObjektTemplate=linksimcs.template
195 ServletModule.LinksImcs.ListTemplate=linksimcslist.template
196 ServletModule.LinksImcs.Logfile=log/mir.log
197 Module.LinksImcs.Logfile=log/mir.log
198
199 ServletModule.Gruppen.ConfirmTemplate=confirm.template
200 ServletModule.Gruppen.ObjektTemplate=gruppen.template
201 ServletModule.Gruppen.ListTemplate=gruppenlist.template
202 ServletModule.Gruppen.Logfile=log/mir.log
203 Module.Gruppen.Logfile=log/mir.log
204
205 ServletModule.Users.ConfirmTemplate=confirm.template
206 ServletModule.Users.ObjektTemplate=users.template
207 ServletModule.Users.ListTemplate=userslist.template
208 ServletModule.Users.Logfile=log/mir.log
209 Module.Users.Logfile=log/mir.log
210
211 ServletModule.Bilder.ConfirmTemplate=confirm.template
212 ServletModule.Bilder.ObjektTemplate=bilder.template
213 ServletModule.Bilder.ListTemplate=bilderlist.template
214 ServletModule.Bilder.Logfile=log/mir.log
215 Module.Bilder.Logfile=log/mir.log
216
217 ServletModule.Content.ConfirmTemplate=confirm.template
218 ServletModule.Content.ObjektTemplate=content.template
219 ServletModule.Content.OpTemplate=oplist.template
220 ServletModule.Content.ListTemplate=contentlist.template
221 ServletModule.Content.Logfile=log/mir.log
222 Module.Content.Logfile=log/mir.log
223
224 ServletModule.Mediafolder.ConfirmTemplate=confirm.template
225 ServletModule.Mediafolder.ObjektTemplate=mediafolder.template
226 ServletModule.Mediafolder.ListTemplate=mediafolderlist.template
227 ServletModule.Mediafolder.Logfile=log/mir.log
228 Module.Mediafolder.Logfile=log/mir.log
229
230 #
231 # config used for OpenIndy
232 ServletModule.OpenIndy.CommentTemplate=open/comment.template
233 ServletModule.OpenIndy.CommentDoneTemplate=open/comment_done.template
234 ServletModule.OpenIndy.PostingTemplate=open/posting.template
235 ServletModule.OpenIndy.PostingDoneTemplate=open/posting_done.template
236 ServletModule.OpenIndy.Logfile=log/openindy.log
237
238 #
239 # config for ServletModuleComment - browsing/editing/deleting comments
240 Module.Comment.Logfile=log/comment.log
241 ServletModule.Comment.Logfile=log/comment.log
242 ServletModule.Comment.ConfirmTemplate=confirm.template
243 ServletModule.Comment.ObjektTemplate=comment.template
244 ServletModule.Comment.ListTemplate=commentlist.template
245
246 #
247 # config for Breaking - browsing/editing/deleting breaking news
248 Module.Breaking.Logfile=log/breaking.log
249 ServletModule.Breaking.Logfile=log/comment.log
250 ServletModule.Breaking.ConfirmTemplate=confirm.template
251 ServletModule.Breaking.ObjektTemplate=breaking.template
252 ServletModule.Breaking.ListTemplate=breakinglist.template
253
254
255 #
256 # config for messages - browsing/editing/deleting internal messages
257 Module.Messages.Logfile=log/message.log
258 ServletModule.Messages.Logfile=log/comment.log
259 ServletModule.Messages.ConfirmTemplate=confirm.template
260 ServletModule.Messages.ObjektTemplate=message.template
261 ServletModule.Messages.ListTemplate=messagelist.template
262
263 #
264 # config for languages - browsing/editing/deleting internal messages
265 Module.Language.Logfile=log/message.log
266 ServletModule.Language.Logfile=log/mir.log
267 ServletModule.Language.ConfirmTemplate=confirm.template
268 ServletModule.Language.ObjektTemplate=language.template
269 ServletModule.Language.ListTemplate=languagelist.template
270
271 #
272 # producer-related configs below
273 #
274
275 Producer.ExtLinkName=extlink.gif
276 Producer.IntLinkName=intlink.gif
277 Producer.MailLinkName=maillink.gif
278 Producer.Logfile=log/producer.log
279
280 Producer.Navigation.Template=producer/navigation.template
281
282 Producer.Content.Template=producer/content.template
283 Producer.Content.Batchsize=20
284
285 Producer.Startseite.Template=producer/startseite.template
286 Producer.Startseite.Entries=7
287 Producer.Startseite.Pages=10
288 Producer.Startseite.Termine=5
289
290 Producer.Themen.Template=producer/themen.template
291 Producer.Themen.Entries=7
292 Producer.Themen.Pages=3
293
294 Producer.Schwerpunkte.Template=producer/schwerpunkte.template
295 Producer.Schwerpunkte.Entries=7
296 Producer.Schwerpunkte.Pages=3
297
298 Producer.Overview.MonthTemplate=producer/ov_month.template
299 Producer.Overview.YearTemplate=producer/ov_year.template
300
301 Producer.List.Template=producer/list.template
302 Producer.TopicList.Template=producer/topiclist.template
303 Producer.OpenPosting.Template=producer/openposting.template
304 Producer.FeatureList.Template=producer/featurelist.template
305
306 Producer.StartPage.Template=producer/startpage.template
307 Producer.StartPage.Items=10
308 Producer.StartPage.Newswire=30
309
310 Producer.Wap.Template=producer/wap.template
311 Producer.Wap.Items=10
312
313 Xsl.Content=producer/content.xsl
314 Xsl.Fo.Content=producer/frontpage_fo.xsl
315 Xsl.StartPage=producer/index.xsl
316 Xsl.TopicList=producer/topic.xsl
317 Xsl.OpenList=producer/open.xsl
318 Xsl.Wap=producer/wml2.xsl