iPodTouchでWEBサーバーのメモ
server.port = 80
server.username = “daemon”
server.groupname = “daemon”
server.errorlog = “/var/log/lighttpd/error.log”
server.follow-symlink = “enable”
index-file.names = (“index.html”, “index.htm”, “index.cgi”, “index.php”)
server.document-root = “/var/www/”
#
server.modules = (
“mod_rewrite”,
“mod_redirect”,
“mod_alias”,
“mod_access”,
“mod_auth”,
“mod_status”,
“mod_setenv”,
“mod_fastcgi”,
“mod_compress”,
“mod_accesslog”
)
fastcgi.server = ( “.php” =>
( “localhost” =>
(
“socket” => “/tmp/php-fastcgi.socket”,
“bin-path” => “/usr/bin/php-cgi”,
“max-procs” => 2,
“bin-environment” => (
“PHP_FCGI_CHILDREN” => “1”,
“PHP_FCGI_MAX_REQUESTS” => “5”
),
)
)
)