Change Url for blog post listing view.
[mediagoblin.git] / paste.ini
... / ...
CommitLineData
1# If you want to make changes to this file, first copy it to
2# paste_local.ini, then make the changes there.
3
4[DEFAULT]
5# Set to true to enable web-based debugging messages and etc.
6debug = false
7
8[pipeline:main]
9pipeline = errors routing
10
11[composite:routing]
12use = egg:Paste#urlmap
13/ = mediagoblin
14/mgoblin_media/ = publicstore_serve
15/mgoblin_static/ = mediagoblin_static
16/theme_static/ = theme_static
17/plugin_static/ = plugin_static
18
19[app:mediagoblin]
20use = egg:mediagoblin#app
21config = %(here)s/mediagoblin_local.ini %(here)s/mediagoblin.ini
22
23[loggers]
24keys = root
25
26[handlers]
27keys = console
28
29[formatters]
30keys = generic
31
32[logger_root]
33level = INFO
34handlers = console
35
36[handler_console]
37class = StreamHandler
38args = (sys.stderr,)
39level = NOTSET
40formatter = generic
41
42[formatter_generic]
43format = %(asctime)s %(levelname)-7.7s [%(name)s] %(message)s
44
45[app:publicstore_serve]
46use = egg:Paste#static
47document_root = %(here)s/user_dev/media/public/
48cache_max_age = 604800
49
50[app:mediagoblin_static]
51use = egg:Paste#static
52document_root = %(here)s/mediagoblin/static/
53cache_max_age = 86400
54
55[app:theme_static]
56use = egg:Paste#static
57document_root = %(here)s/user_dev/theme_static/
58cache_max_age = 86400
59
60[app:plugin_static]
61use = egg:Paste#static
62document_root = %(here)s/user_dev/plugin_static/
63cache_max_age = 86400
64
65[filter:errors]
66use = egg:mediagoblin#errors
67debug = false
68
69
70##############################
71# Server configuration options
72##############################
73
74# The server that is run by default.
75# By default, should only be accessable locally
76[server:main]
77use = egg:Paste#http
78host = 127.0.0.1
79port = 6543
80
81#######################
82# Helper server configs
83# ---------------------
84# If you are configuring the paste config manually, you can remove
85# these.
86
87# Use this if you want to run on port 6543 and have MediaGoblin be
88# viewable externally
89[server:broadcast]
90use = egg:Paste#http
91host = 0.0.0.0
92port = 6543
93
94# Use this if you want to connect via fastcgi
95[server:fcgi]
96use = egg:flup#fcgi_fork
97host = %(fcgi_host)s
98port = %(fcgi_port)s
99
100[server:http]
101use = egg:Paste#http
102host = %(http_host)s
103port = %(http_port)s