2 # Sample config for Mir
3 # by Matthias <mjordan@code-fu.de> 2001-09-12
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:
14 # b) static site config
15 # c) dynamic admin site
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.
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.
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.
36 ### mir/imc information
37 Mir.Name=mir.indymedia.org
39 Mir.Contact-email.address=mir-coders@lists.indymedia.org
40 Mir.Contact-email.name=mir-coders mailinglist
41 Mir.Tech-email.address=mir-coders@lists.indymedia.org
42 Mir.Tech-email.name=mir-coders mailinglist
43 Mir.Public-email.address=mir-coders@lists.indymedia.org
44 Mir.Public-email.name=mir-coders mailinglist
50 Mir.Localizer=mircoders.localizer.basic.MirBasicLocalizer
51 Mir.Localizer.Logfile=log/localizer.log
53 # The location of the producer specifiations
54 Mir.Localizer.ProducerConfigFile=templates/producer/producers.xml
57 Mir.Localizer.Producer.GeneratorLibrary= default=freemarker(templates/producer/)
58 Mir.Localizer.Admin.GeneratorLibrary= default=freemarker(templates/admin/)
59 Mir.Localizer.OpenPosting.GeneratorLibrary= default=freemarker(templates/open/)
61 # Which producers need to be called after an article (resp. a comment) is posted
62 Mir.Localizer.OpenPosting.ContentProducers= media.new;content.new;startpage.new;synchronization.run
63 Mir.Localizer.OpenPosting.CommentProducers= content.new;synchronization.run
65 #note that you can't make pdf's without making fo's
69 #on-time-password-protection
72 #use rsync to mirror the website to a remote-host
74 Rsync.Script.Path=/var/www/bin/rsync-copy
76 # the maximum allowed size of an uploaded media file in KB.
77 MaxMediaUploadSize=20000
79 # the maximum number of allowed media items to upload at once.
80 ServletModule.OpenIndy.MaxMediaUploadItems=20
87 # the url of the static site
88 Producer.ProductionHost=http://indy.code-fu.de
90 # Produrce.StorageRoot is the directory, in which
91 # the generated HTML pages will be stored
92 Producer.StorageRoot=/pub/Dokumente/Indymedia/de-tech/Mir/produced
96 # where do we find the files? absolute path
97 ServletModule.FileEdit.FileDirectory=/pub/Dokumente/Indymedia/de-tech/Mir/produced
98 ServletModule.FileEdit.ExtFilter=inc
102 # DYNAMIC SITE CONFIG
105 # the url of the openposting-servlet
106 Producer.OpenAction=http://indy.code-fu.de/Mir/servlet/OpenMir
108 # use this property if the pages are not produced under the docRoot
109 # of the webserver. all links in the produced pages are prepended
110 # with Producer.DocRoot
113 Producer.ActionServlet=/servlet/Mir
115 # this is the name of the subdirectory where the image-dir
117 Producer.ImageRoot=/img
120 # the url of the video-server
121 Producer.Video.Host=http://indy.code-fu.de/video
123 # the url of the audio-server
124 Producer.Audio.Host=http://indy.code-fu.de/audio
126 # the url of the image-server
127 Producer.Image.Host=http://indy.code-fu.de/images
129 # the url of the media-server
130 Producer.Media.Host=http://indy.code-fu.de/media
132 # the url of the real-media-server
133 Producer.RealMedia.Host=rtsp://some.media.server/somedir/
136 # image specific storage directories
137 # absolute directory, where the images are saved
138 Producer.Image.Path=/pub/Dokumente/Indymedia/de-tech/Mir/produced/images/
140 # media specific storage directories
141 # absolute directory, where the media files are saved
142 Producer.Media.Path=/pub/Dokumente/Indymedia/de-tech/Mir/produced/media
144 # absolute directory, where the realmedia data files(ra and rm) are saved
145 # the ram files which point to the RealMedia.Host get saved in the regular Media dir
146 # this should make rsyncing to a separate streaming server much easier
147 Producer.RealMedia.Path=/pub/Dokumente/rtsp
149 # relativ directory, where the thumbnails will be saved
150 Producer.Image.IconPath=/icon
152 # Tiny Icons for the media types on the newswire summary.
153 # (right hand side of start page)
154 Producer.Icon.TinyImage=photo_small.gif
155 Producer.Icon.TinyAudio=audio_small.gif
156 Producer.Icon.TinyVideo=video_small.gif
157 Producer.Icon.TinyText=text_small.gif
159 #Medium sized icons used at various places
160 Producer.Icon.BigImage=photo_big.gif
161 Producer.Icon.BigAudio=audio_big.gif
162 Producer.Icon.BigVideo=video_big.gif
163 Producer.Icon.BigText=text_big.gif
168 # edit with caution below this line
169 ######################################################################
177 # specify your database
181 Database.poolResetTime=1.0
182 Database.PoolLog=log/pool.log
184 Database.Username=postgres
186 Database.Host=localhost
190 # this sets the adaptor to be used
192 Database.Adaptor=mir.storage.DatabaseAdaptorPostgresql
193 Database.Logfile=log/dbentity.log
196 # configuration for adaptor mysql
197 # In this example, "Mir" is the dbname
199 Adaptor.MySQL.URL=jdbc:mysql://localhost:3306/Mir
200 Adaptor.MySQL.Driver=org.gjt.mm.mysql.Driver
203 # configuration for adaptor postgres
204 # In this example, "Mir" is the dbname
206 Adaptor.PostgreSQL.URL=jdbc:postgresql://localhost:5432/Mir
207 Adaptor.PostgreSQL.Driver=org.postgresql.Driver
210 # should be explained .)
213 # how many articles should be shown on a list-page
216 HTMLTemplateProcessor.Logfile=log/htmlprocess.log
217 HTMLTemplateProcessor.Dir=templates
219 ServletModule.Producer.Logfile=log/producer.log
220 Entity.Logfile=log/dbentity.log
223 # Servlet / Module configurations
226 # don't change this unless you really know your i18n.
227 # The default encoding charset used in the written html files as well
228 # as the dynamic output html.
229 # also used for the HTML charset meta tag.
230 Mir.DefaultEncoding=ISO8859_1
231 Mir.Logfile=log/mir.log
232 Mir.ErrorTemplate=error.template
233 Mir.UserErrorTemplate=usererror.template
234 Mir.LoginTemplate=admin/login.template
235 OpenMir.Logfile=log/openindy.log
237 ServletModule.Schwerpunkt.ConfirmTemplate=admin/confirm.template
238 ServletModule.Schwerpunkt.ObjektTemplate=admin/feature.template
239 ServletModule.Schwerpunkt.ListTemplate=admin/featurelist.template
240 ServletModule.Schwerpunkt.Logfile=log/mir.log
241 Module.Schwerpunkt.Logfile=log/mir.log
243 ServletModule.Feature.ConfirmTemplate=admin/confirm.template
244 ServletModule.Feature.ObjektTemplate=admin/schwerpunkt.template
245 ServletModule.Feature.ListTemplate=admin/schwerpunktlist.template
246 ServletModule.Feature.Logfile=log/mir.log
247 Module.Feature.Logfile=log/mir.log
249 ServletModule.Themen.ConfirmTemplate=admin/confirm.template
250 ServletModule.Themen.ObjektTemplate=admin/topic.template
251 ServletModule.Themen.ListTemplate=admin/topiclist.template
252 ServletModule.Themen.Logfile=log/mir.log
253 Module.Themen.Logfile=log/mir.log
255 ServletModule.LinksImcs.ConfirmTemplate=admin/confirm.template
256 ServletModule.LinksImcs.ObjektTemplate=admin/linksimcs.template
257 ServletModule.LinksImcs.ListTemplate=admin/linksimcslist.template
258 ServletModule.LinksImcs.Logfile=log/mir.log
259 Module.LinksImcs.Logfile=log/mir.log
261 ServletModule.Users.ConfirmTemplate=admin/confirm.template
262 ServletModule.Users.ObjektTemplate=admin/user.template
263 ServletModule.Users.ListTemplate=admin/userlist.template
264 ServletModule.Users.Logfile=log/mir.log
265 Module.Users.Logfile=log/mir.log
267 ServletModule.Images.ConfirmTemplate=admin/confirm.template
268 ServletModule.Images.ObjektTemplate=admin/image.template
269 ServletModule.Images.ListTemplate=admin/imagelist.template
270 ServletModule.Images.Logfile=log/mir.log
271 Module.Images.Logfile=log/mir.log
273 Module.UploadedMedia.Logfile=log/mir.log
275 ServletModule.Audio.ConfirmTemplate=admin/confirm.template
276 ServletModule.Audio.ObjektTemplate=admin/audio.template
277 ServletModule.Audio.ListTemplate=admin/audiolist.template
278 ServletModule.Audio.Logfile=log/mir.log
280 ServletModule.Video.ConfirmTemplate=admin/confirm.template
281 ServletModule.Video.ObjektTemplate=admin/video.template
282 ServletModule.Video.ListTemplate=admin/videolist.template
283 ServletModule.Video.Logfile=log/mir.log
285 ServletModule.OtherMedia.ConfirmTemplate=admin/confirm.template
286 ServletModule.OtherMedia.ObjektTemplate=admin/media.template
287 ServletModule.OtherMedia.ListTemplate=admin/medialist.template
288 ServletModule.OtherMedia.Logfile=log/mir.log
290 ServletModule.Content.ConfirmTemplate=admin/confirm.template
291 ServletModule.Content.ObjektTemplate=admin/content.template
292 ServletModule.Content.ListTemplate=admin/contentlist.template
293 ServletModule.Content.Logfile=log/mir.log
294 Module.Content.Logfile=log/mir.log
296 ServletModule.Mediafolder.ConfirmTemplate=admin/confirm.template
297 ServletModule.Mediafolder.ObjektTemplate=admin/mediafolder.template
298 ServletModule.Mediafolder.ListTemplate=admin/mediafolderlist.template
299 ServletModule.Mediafolder.Logfile=log/mir.log
300 Module.Mediafolder.Logfile=log/mir.log
303 # config used for OpenIndy
304 ServletModule.OpenIndy.CommentTemplate=open/comment.template
305 ServletModule.OpenIndy.CommentDoneTemplate=open/comment_done.template
306 ServletModule.OpenIndy.CommentDupeTemplate=open/comment_dupe.template
307 ServletModule.OpenIndy.PostingTemplate=open/posting.template
308 ServletModule.OpenIndy.PostingDoneTemplate=open/posting_done.template
309 ServletModule.OpenIndy.PostingDupeTemplate=open/posting_dupe.template
310 ServletModule.OpenIndy.Logfile=log/openindy.log
313 # config for ServletModuleComment - browsing/editing/deleting comments
314 Module.Comment.Logfile=log/comment.log
315 ServletModule.Comment.Logfile=log/comment.log
316 ServletModule.Comment.ConfirmTemplate=admin/confirm.template
317 ServletModule.Comment.ObjektTemplate=admin/comment.template
318 ServletModule.Comment.ListTemplate=admin/commentlist.template
321 # config for ServletModuleHidden - lists all hidden articles of one month
322 ServletModule.Hidden.Logfile=log/hidden.log
323 ServletModule.Hidden.ListTemplate=admin/hiddenlist.template
327 # config for Breaking - browsing/editing/deleting breaking news
328 Module.Breaking.Logfile=log/breaking.log
329 ServletModule.Breaking.Logfile=log/comment.log
330 ServletModule.Breaking.ConfirmTemplate=admin/confirm.template
331 ServletModule.Breaking.ObjektTemplate=admin/breaking.template
332 ServletModule.Breaking.ListTemplate=admin/breakinglist.template
335 # config for Breaking - editing text files
336 ServletModule.FileEdit.Logfile=log/fileedit.log
337 ServletModule.FileEdit.ConfirmTemplate=admin/confirm.template
338 ServletModule.FileEdit.ObjektTemplate=admin/fileedit.template
339 ServletModule.FileEdit.ListTemplate=admin/fileeditlist.template
344 # config for messages - browsing/editing/deleting internal messages
345 Module.Messages.Logfile=log/message.log
346 ServletModule.Messages.Logfile=log/comment.log
347 ServletModule.Messages.ConfirmTemplate=admin/confirm.template
348 ServletModule.Messages.ObjektTemplate=admin/message.template
349 ServletModule.Messages.ListTemplate=admin/messagelist.template
352 # config for languages - browsing/editing/deleting languages
353 Module.Language.Logfile=log/message.log
354 ServletModule.Language.Logfile=log/mir.log
355 ServletModule.Language.ConfirmTemplate=admin/confirm.template
356 ServletModule.Language.ObjektTemplate=admin/language.template
357 ServletModule.Language.ListTemplate=admin/languagelist.template