]> git.openstreetmap.org Git - rails.git/commitdiff
Add CGI support for statistics.
authorTom Hughes <tom@compton.nu>
Tue, 21 Aug 2007 23:52:57 +0000 (23:52 +0000)
committerTom Hughes <tom@compton.nu>
Tue, 21 Aug 2007 23:52:57 +0000 (23:52 +0000)
config/lighttpd.conf

index 7395a4b08867e1fd1b0635a8909d8737a94f8184..317413f573a7ea2db689a89196284408b0c28ca7 100644 (file)
@@ -4,6 +4,7 @@
 server.modules = ( 
   "mod_access",
   "mod_accesslog",
+  "mod_cgi",
   "mod_compress",
   "mod_evasive",
   "mod_fastcgi",
@@ -89,6 +90,11 @@ url.redirect = (
   "^/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
 #