我正在尝试在运行lighttpd的Raspberry Pi上建立一个mediagoblin实例。
我非常关注mediagoblin documentation:我的lighttpd配置文件包含
debug.log-request-handling = "enable"
fastcgi.debug = 1
fastcgi.server += ("/media" =>
# mnemonical name of the backend
( "mg-local" => (
"host" => "127.0.0.1",
"port" => "6543",
"docroot" => "/home/mediagoblin/mediagoblin",
"check-local" => "disable"
)
)
)
mediagoblin实例在端口6543上运行良好(我可以使用任何旧的Web浏览器与其联系)。但是,mod_fastcgi有更多麻烦。以下是尝试访问/var/log/lighttpd/error.log
时http://localhost/media
的内容:
2018-08-06 12:40:59: (mod_fastcgi.c.3061) got proc: pid: 0 socket: tcp:127.0.0.1:6543 load: 1
2018-08-06 12:43:12: (mod_fastcgi.c.2569) unexpected end-of-file (perhaps the fastcgi process died): pid: 0 socket: tcp:127.0.0.1:6543
2018-08-06 12:43:12: (mod_fastcgi.c.3353) response not received, request sent: 1219 on socket: tcp:127.0.0.1:6543 for /media?, closing connection
如何告诉mod_fastcgi
与localhost:6543
上正在运行的服务器联系?