server.modules = ( # "mod_rewrite", # "mod_redirect", # "mod_alias", # "mod_access", # "mod_cml", # "mod_trigger_b4_dl", # "mod_auth", # "mod_status", "mod_setenv", "mod_fastcgi", # "mod_proxy", # "mod_simple_vhost", # "mod_evhost", # "mod_userdir", "mod_cgi", # "mod_compress", # "mod_ssi", # "mod_usertrack", # "mod_expire", # "mod_secdownload", # "mod_rrdtool", # "mod_accesslog" ) server.document-root = "/var/www/" server.username = "lighty" server.groupname = "lighty" server.port = 80 server.pid-file = "/var/run/lighttpd.pid" #server.bind = "set.hostname.com" server.tag = "lighttpd" server.errorlog = "/var/www/logs/error.log" #server.error-handler-404 = "/error-handler.html" mimetype.assign = ( ".html" => "text/html", ".htm" => "text/html", ".txt" => "text/plain", ".jpg" => "image/jpeg", ".png" => "image/png", ".css" => "text/css" ) index-file.names = ( "index.php", "default.php", "index.htm", "index.html" ) static-file.exclude-extensions = ( ".php", ".pl", ".fcgi", ".cgi" ) fastcgi.server = ( ".php" => (( "bin-path" => "/usr/local/php/bin/php-cgi", "socket" => "/tmp/php.socket", "max-procs" => 2, "bin-environment" => ( "PHP_FCGI_CHILDREN" => "2", "PHP_FCGI_MAX_REQUESTS" => "100" ), "bin-copy-environment" => ( "PATH", "SHELL" ), "broken-scriptfilename" => "enable" ))) #### CGI module cgi.assign = ( ".pl" => "/usr/bin/perl", ".cgi" => "/usr/bin/perl" )