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
56 # Which producers need to be called after an article (resp. a comment) is posted
57 Mir.Localizer.OpenPosting.ContentProducers= media.new;content.new;startpage.new;synchronization.run
58 Mir.Localizer.OpenPosting.CommentProducers= content.new;synchronization.run
60 #note that you can't make pdf's without making fo's
64 #on-time-password-protection
67 #use rsync to mirror the website to a remote-host
69 Rsync.Script.Path=/var/www/bin/rsync-copy
71 # the maximum allowed size of an uploaded media file in KB.
72 MaxMediaUploadSize=20000
74 # the maximum number of allowed media items to upload at once.
75 ServletModule.OpenIndy.MaxMediaUploadItems=20
82 # the url of the static site
83 Producer.ProductionHost=http://indy.code-fu.de
85 # Produrce.StorageRoot is the directory, in which
86 # the generated HTML pages will be stored
87 Producer.StorageRoot=/pub/Dokumente/Indymedia/de-tech/Mir/produced
91 # where do we find the files? absolute path
92 ServletModule.FileEdit.FileDirectory=/pub/Dokumente/Indymedia/de-tech/Mir/produced
93 ServletModule.FileEdit.ExtFilter=inc
100 # the url of the openposting-servlet
101 Producer.OpenAction=http://indy.code-fu.de/Mir/servlet/OpenMir
103 # use this property if the pages are not produced under the docRoot
104 # of the webserver. all links in the produced pages are prepended
105 # with Producer.DocRoot
108 Producer.ActionServlet=/servlet/Mir
110 # this is the name of the subdirectory where the image-dir
112 Producer.ImageRoot=/img
115 # the url of the video-server
116 Producer.Video.Host=http://indy.code-fu.de/video
118 # the url of the audio-server
119 Producer.Audio.Host=http://indy.code-fu.de/audio
121 # the url of the image-server
122 Producer.Image.Host=http://indy.code-fu.de/images
124 # the url of the media-server
125 Producer.Media.Host=http://indy.code-fu.de/media
127 # the url of the real-media-server
128 Producer.RealMedia.Host=rtsp://some.media.server/somedir/
131 # image specific storage directories
132 # absolute directory, where the images are saved
133 Producer.Image.Path=/pub/Dokumente/Indymedia/de-tech/Mir/produced/images/
135 # media specific storage directories
136 # absolute directory, where the media files are saved
137 Producer.Media.Path=/pub/Dokumente/Indymedia/de-tech/Mir/produced/media
139 # absolute directory, where the realmedia data files(ra and rm) are saved
140 # the ram files which point to the RealMedia.Host get saved in the regular Media dir
141 # this should make rsyncing to a separate streaming server much easier
142 Producer.RealMedia.Path=/pub/Dokumente/rtsp
144 # relativ directory, where the thumbnails will be saved
145 Producer.Image.IconPath=/icon
147 # Tiny Icons for the media types on the newswire summary.
148 # (right hand side of start page)
149 Producer.Icon.TinyImage=photo_small.gif
150 Producer.Icon.TinyAudio=audio_small.gif
151 Producer.Icon.TinyVideo=video_small.gif
152 Producer.Icon.TinyText=text_small.gif
154 #Medium sized icons used at various places
155 Producer.Icon.BigImage=photo_big.gif
156 Producer.Icon.BigAudio=audio_big.gif
157 Producer.Icon.BigVideo=video_big.gif
158 Producer.Icon.BigText=text_big.gif
163 # edit with caution below this line
164 ######################################################################
172 # specify your database
176 Database.poolResetTime=1.0
177 Database.PoolLog=log/pool.log
179 Database.Username=postgres
181 Database.Host=localhost
185 # this sets the adaptor to be used
187 Database.Adaptor=mir.storage.DatabaseAdaptorPostgresql
188 Database.Logfile=log/dbentity.log
191 # configuration for adaptor mysql
192 # In this example, "Mir" is the dbname
194 Adaptor.MySQL.URL=jdbc:mysql://localhost:3306/Mir
195 Adaptor.MySQL.Driver=org.gjt.mm.mysql.Driver
198 # configuration for adaptor postgres
199 # In this example, "Mir" is the dbname
201 Adaptor.PostgreSQL.URL=jdbc:postgresql://localhost:5432/Mir
202 Adaptor.PostgreSQL.Driver=org.postgresql.Driver
205 # should be explained .)
208 # how many articles should be shown on a list-page
211 HTMLTemplateProcessor.Logfile=log/htmlprocess.log
212 HTMLTemplateProcessor.Dir=templates
214 ServletModule.Producer.Logfile=log/producer.log
215 Entity.Logfile=log/dbentity.log
218 # Servlet / Module configurations
221 # don't change this unless you really know your i18n.
222 # The default encoding charset used in the written html files as well
223 # as the dynamic output html.
224 # also used for the HTML charset meta tag.
225 Mir.DefaultEncoding=ISO8859_1
226 Mir.Logfile=log/mir.log
227 Mir.ErrorTemplate=error.template
228 Mir.UserErrorTemplate=usererror.template
229 Mir.LoginTemplate=admin/login.template
230 OpenMir.Logfile=log/openindy.log
232 ServletModule.Schwerpunkt.ConfirmTemplate=admin/confirm.template
233 ServletModule.Schwerpunkt.ObjektTemplate=admin/feature.template
234 ServletModule.Schwerpunkt.ListTemplate=admin/featurelist.template
235 ServletModule.Schwerpunkt.Logfile=log/mir.log
236 Module.Schwerpunkt.Logfile=log/mir.log
238 ServletModule.Feature.ConfirmTemplate=admin/confirm.template
239 ServletModule.Feature.ObjektTemplate=admin/schwerpunkt.template
240 ServletModule.Feature.ListTemplate=admin/schwerpunktlist.template
241 ServletModule.Feature.Logfile=log/mir.log
242 Module.Feature.Logfile=log/mir.log
244 ServletModule.Themen.ConfirmTemplate=admin/confirm.template
245 ServletModule.Themen.ObjektTemplate=admin/topic.template
246 ServletModule.Themen.ListTemplate=admin/topiclist.template
247 ServletModule.Themen.Logfile=log/mir.log
248 Module.Themen.Logfile=log/mir.log
250 ServletModule.LinksImcs.ConfirmTemplate=admin/confirm.template
251 ServletModule.LinksImcs.ObjektTemplate=admin/linksimcs.template
252 ServletModule.LinksImcs.ListTemplate=admin/linksimcslist.template
253 ServletModule.LinksImcs.Logfile=log/mir.log
254 Module.LinksImcs.Logfile=log/mir.log
256 ServletModule.Users.ConfirmTemplate=admin/confirm.template
257 ServletModule.Users.ObjektTemplate=admin/user.template
258 ServletModule.Users.ListTemplate=admin/userlist.template
259 ServletModule.Users.Logfile=log/mir.log
260 Module.Users.Logfile=log/mir.log
262 ServletModule.Images.ConfirmTemplate=admin/confirm.template
263 ServletModule.Images.ObjektTemplate=admin/image.template
264 ServletModule.Images.ListTemplate=admin/imagelist.template
265 ServletModule.Images.Logfile=log/mir.log
266 Module.Images.Logfile=log/mir.log
268 Module.UploadedMedia.Logfile=log/mir.log
270 ServletModule.Audio.ConfirmTemplate=admin/confirm.template
271 ServletModule.Audio.ObjektTemplate=admin/audio.template
272 ServletModule.Audio.ListTemplate=admin/audiolist.template
273 ServletModule.Audio.Logfile=log/mir.log
275 ServletModule.Video.ConfirmTemplate=admin/confirm.template
276 ServletModule.Video.ObjektTemplate=admin/video.template
277 ServletModule.Video.ListTemplate=admin/videolist.template
278 ServletModule.Video.Logfile=log/mir.log
280 ServletModule.OtherMedia.ConfirmTemplate=admin/confirm.template
281 ServletModule.OtherMedia.ObjektTemplate=admin/media.template
282 ServletModule.OtherMedia.ListTemplate=admin/medialist.template
283 ServletModule.OtherMedia.Logfile=log/mir.log
285 ServletModule.Content.ConfirmTemplate=admin/confirm.template
286 ServletModule.Content.ObjektTemplate=admin/content.template
287 ServletModule.Content.ListTemplate=admin/contentlist.template
288 ServletModule.Content.Logfile=log/mir.log
289 Module.Content.Logfile=log/mir.log
291 ServletModule.Mediafolder.ConfirmTemplate=admin/confirm.template
292 ServletModule.Mediafolder.ObjektTemplate=admin/mediafolder.template
293 ServletModule.Mediafolder.ListTemplate=admin/mediafolderlist.template
294 ServletModule.Mediafolder.Logfile=log/mir.log
295 Module.Mediafolder.Logfile=log/mir.log
298 # config used for OpenIndy
299 ServletModule.OpenIndy.CommentTemplate=open/comment.template
300 ServletModule.OpenIndy.CommentDoneTemplate=open/comment_done.template
301 ServletModule.OpenIndy.CommentDupeTemplate=open/comment_dupe.template
302 ServletModule.OpenIndy.PostingTemplate=open/posting.template
303 ServletModule.OpenIndy.PostingDoneTemplate=open/posting_done.template
304 ServletModule.OpenIndy.PostingDupeTemplate=open/posting_dupe.template
305 ServletModule.OpenIndy.Logfile=log/openindy.log
308 # config for ServletModuleComment - browsing/editing/deleting comments
309 Module.Comment.Logfile=log/comment.log
310 ServletModule.Comment.Logfile=log/comment.log
311 ServletModule.Comment.ConfirmTemplate=admin/confirm.template
312 ServletModule.Comment.ObjektTemplate=admin/comment.template
313 ServletModule.Comment.ListTemplate=admin/commentlist.template
316 # config for ServletModuleHidden - lists all hidden articles of one month
317 ServletModule.Hidden.Logfile=log/hidden.log
318 ServletModule.Hidden.ListTemplate=admin/hiddenlist.template
322 # config for Breaking - browsing/editing/deleting breaking news
323 Module.Breaking.Logfile=log/breaking.log
324 ServletModule.Breaking.Logfile=log/comment.log
325 ServletModule.Breaking.ConfirmTemplate=admin/confirm.template
326 ServletModule.Breaking.ObjektTemplate=admin/breaking.template
327 ServletModule.Breaking.ListTemplate=admin/breakinglist.template
330 # config for Breaking - editing text files
331 ServletModule.FileEdit.Logfile=log/fileedit.log
332 ServletModule.FileEdit.ConfirmTemplate=admin/confirm.template
333 ServletModule.FileEdit.ObjektTemplate=admin/fileedit.template
334 ServletModule.FileEdit.ListTemplate=admin/fileeditlist.template
339 # config for messages - browsing/editing/deleting internal messages
340 Module.Messages.Logfile=log/message.log
341 ServletModule.Messages.Logfile=log/comment.log
342 ServletModule.Messages.ConfirmTemplate=admin/confirm.template
343 ServletModule.Messages.ObjektTemplate=admin/message.template
344 ServletModule.Messages.ListTemplate=admin/messagelist.template
347 # config for languages - browsing/editing/deleting languages
348 Module.Language.Logfile=log/message.log
349 ServletModule.Language.Logfile=log/mir.log
350 ServletModule.Language.ConfirmTemplate=admin/confirm.template
351 ServletModule.Language.ObjektTemplate=admin/language.template
352 ServletModule.Language.ListTemplate=admin/languagelist.template