1 # If you want to make changes to this file, first copy it to
2 # paste_local.ini, then make the changes there.
5 # Set to true to enable web-based debugging messages and etc.
9 pipeline = errors routing
12 use = egg:Paste#urlmap
14 /mgoblin_media/ = publicstore_serve
15 /mgoblin_static/ = mediagoblin_static
18 use = egg:mediagoblin#app
20 config = %(here)s/mediagoblin_local.ini %(here)s/mediagoblin.ini
22 [app:publicstore_serve]
23 use = egg:Paste#static
24 document_root = %(here)s/user_dev/media/public/
25 cache_max_age = 604800
27 [app:mediagoblin_static]
28 use = egg:Paste#static
29 document_root = %(here)s/mediagoblin/static/
33 use = egg:Beaker#beaker_session
34 cache_dir = %(here)s/user_dev/beaker
35 beaker.session.key = mediagoblin
36 # beaker.session.secret = somesupersecret
37 beaker.session.data_dir = %(here)s/user_dev/beaker/sessions/data
38 beaker.session.lock_dir = %(here)s/user_dev/beaker/sessions/lock
41 use = egg:mediagoblin#errors
45 ##############################
46 # Server configuration options
47 ##############################
49 # The server that is run by default.
50 # By default, should only be accessable locally
56 #######################
57 # Helper server configs
58 # ---------------------
59 # If you are configuring the paste config manually, you can remove
62 # Use this if you want to run on port 6543 and have MediaGoblin be
69 # Use this if you want to connect via fastcgi
71 use = egg:flup#fcgi_fork