server.modules = (
"mod_access",
"mod_accesslog",
+ "mod_cgi",
"mod_compress",
"mod_evasive",
"mod_fastcgi",
compress.cache-dir = "/var/cache/lighttpd"
#
-# Redirect wiki requests to the wiki
+# Redirect trac and wiki requests to the right places
#
-url.redirect = ( "^/wiki/(.*)$" => "http://wiki.openstreetmap.org/wiki/$1" )
+url.redirect = (
+ "^/trac/(.*)$" => "http://trac.openstreetmap.org/$1",
+ "^/wiki/(.*)$" => "http://wiki.openstreetmap.org/$1"
+)
+
+#
+# Run anything with a .pl iextension as a CGI script
+#
+cgi.assign = ( ".pl" => "/usr/bin/perl" )
#
# Serve static content from the rails public area ourselves