lighttpd config file
时间:2010-10-29 来源:nahuat
server.event-handler = "linux-sysepoll"
server.modules = ("mod_access", "mod_accesslog", "mod_alias", "mod_fastcgi", "mod_rewrite")
fastcgi.server = ("/python" =>
((
"socket" => "/tmp/fastcgi.socket",
"bin-path" => "/var/www/index.py",
"max-procs" => 1,
"bin-environment" => (
"REAL_SCRIPT_NAME" => ""
),
"check-local" => "disable"
))
)
url.rewrite-once = ( "^/([^\.]+)$" => "/python/$1" )
static-file.exclude-extensions = ( ".py", ".php", ".pl", ".fcgi", )
server.modules = ("mod_access", "mod_accesslog", "mod_alias", "mod_fastcgi", "mod_rewrite")
fastcgi.server = ("/python" =>
((
"socket" => "/tmp/fastcgi.socket",
"bin-path" => "/var/www/index.py",
"max-procs" => 1,
"bin-environment" => (
"REAL_SCRIPT_NAME" => ""
),
"check-local" => "disable"
))
)
url.rewrite-once = ( "^/([^\.]+)$" => "/python/$1" )
static-file.exclude-extensions = ( ".py", ".php", ".pl", ".fcgi", )
相关阅读 更多 +
排行榜 更多 +