From: Tom Hughes Date: Tue, 21 Aug 2007 23:52:57 +0000 (+0000) Subject: Add CGI support for statistics. X-Git-Tag: live~8724 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/bc92e61b3b45e2e1e203d6992b9d69e76cd2c326 Add CGI support for statistics. --- diff --git a/config/lighttpd.conf b/config/lighttpd.conf index 7395a4b08..317413f57 100644 --- a/config/lighttpd.conf +++ b/config/lighttpd.conf @@ -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 #