add filters to catch google gadgets
[monitor.git] / web / MonitorWeb / monitorweb / config / app.cfg
1 [global]
2 # The settings in this file should not vary depending on the deployment
3 # environment. dev.cfg and prod.cfg are the locations for
4 # the different deployment settings. Settings in this file will
5 # be overridden by settings in those other files.
6
7 # The commented out values below are the defaults
8
9 # APPLICATION PACKAGE
10
11 package = "monitorweb"
12
13 # VIEW
14
15 # which view (template engine) to use if one is not specified in the
16 # template name
17 # tg.defaultview = "kid"
18
19 # The following Kid settings determine the settings used by the Kid serializer.
20
21 # Kid output method (e.g. html, html-strict, xhtml, xhtml-strict, xml, json)
22 # and formatting (e.g. default, straight, compact, newlines, wrap, nice)
23 # kid.outputformat="html default"
24
25 # kid.encoding="utf-8"
26
27 # The sitetemplate is used for overall styling of a site that
28 # includes multiple TurboGears applications
29 # tg.sitetemplate="<packagename.templates.templatename>"
30
31 # Allow every exposed function to be called as json,
32 # tg.allow_json = False
33
34 # Suppress the inclusion of the shipped MochiKit version, which is rather outdated.
35 # Attention: setting this to True and listing 'turbogears.mochikit' in 'tg.include_widgets'
36 # is a contradiction. This option will overrule the default-inclusion to prevent version
37 # mismatch bugs.
38 # tg.mochikit_suppress = True
39
40 # List of Widgets to include on every page.
41 # for example ['turbogears.mochikit']
42 # tg.include_widgets = []
43
44 # Set to True if the scheduler should be started
45 # tg.scheduler = False
46
47 # Set to True to allow paginate decorator redirects when page number gets
48 # out of bound. Useful for getting the real page id in the url
49 # paginate.redirect_on_out_of_range = True
50
51 # Set to True to allow paginate decorator redirects when last page is requested.
52 # This is useful for getting the real last page id in the url
53 # paginate.redirect_on_last_page = True
54
55 # Set session or cookie
56 # session_filter.on = True
57
58
59 # compress the data sends to the web browser
60 # [/]
61 # gzip_filter.on = True
62 # gzip_filter.mime_types = ["application/json", "application/x-javascript",
63 #     "text/javascript", "text/html", "text/css", "text/plain"]
64
65 [/static]
66 static_filter.on = True
67 static_filter.dir = "%(top_level_dir)s/static"
68
69 [/favicon.ico]
70 static_filter.on = True
71 static_filter.file = "%(top_level_dir)s/static/images/favicon.ico"
72
73 [/sitemonitor.xml]
74 static_filter.on = True
75 static_filter.file = "%(top_level_dir)s/static/xml/sitemonitor.xml"
76
77 [/monitor.xml]
78 static_filter.on = True
79 static_filter.file = "%(top_level_dir)s/static/xml/monitor.xml"
80
81 [/gadget.xml]
82 static_filter.on = True
83 static_filter.file = "%(top_level_dir)s/static/xml/gadget.xml"