server.modules = (
"mod_access",
"mod_accesslog",
+ "mod_cgi",
"mod_compress",
"mod_evasive",
"mod_fastcgi",
+ "mod_redirect",
"mod_status"
)
#
compress.cache-dir = "/var/cache/lighttpd"
+#
+# Redirect trac and wiki requests to the right places
+#
+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
#