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