--- a/pyforge/development.ini
+++ b/pyforge/development.ini
@@ -14,6 +14,8 @@
smtp_server = localhost
smtp_port = 8826
error_email_from = paste@localhost
+# Used to uniquify references to static resources
+build_key=2010.06.14.0
[server:main]
use = egg:Paste#http
@@ -42,9 +44,16 @@
auth.ldap.admin_dn = cn=admin,dc=example,dc=com
auth.ldap.admin_password = secret
+# Set the locations of some static resources
+# script_name is the path that is handled by the application
+# url_base is the prefix that references to the static resources should have
+ew.script_name = /nf/%(build_key)s/_ew_/
+ew.url_base = /nf/%(build_key)s/_ew_/
+static.script_name = /nf/%(build_key)s/_static_/
+static.url_base = /nf/%(build_key)s/_static_/
+
+
gitweb.cgi = /usr/lib/cgi-bin/gitweb.cgi
-
-static_root = /nf/
# Ming setup
ming.main.master = mongo://127.0.0.1:27017/pyforge