I followed http://webpy.org/install to make web.py work together with
lighttpd.
But lighttpd refuses to start with config that I'd need in order to
make web.py work.
I currently have this in lighttpd's conf:
fastcgi.server = (
"code.py" =>
((
"socket" => "/tmp/fastcgi.sock",
"bin-path" => "/srv/http/code.py",
"max-procs" => 1,
"check-local" => "disable"
)),
".php" =>
( "localhost" =>
(
"socket" => "/var/run/lighttpd/php-fastcgi.socket",
"bin-path" => "/usr/bin/php-cgi"
)
)
)
And code.py is the hello world from web.py's frontpage.
Lighttpd's error is:
2009-11-20 17:34:55: (log.c.166) server started
2009-11-20 17:34:55: (mod_fastcgi.c.1104) the fastcgi-backend /srv/
http/code.py failed to start:
2009-11-20 17:34:55: (mod_fastcgi.c.1108) child exited with status 8 /
srv/http/code.py
2009-11-20 17:34:55: (mod_fastcgi.c.1111) If you're trying to run your
app as a FastCGI backend, make sure you're usi$
If this is PHP on Gentoo, add 'fastcgi' to the USE flags.
2009-11-20 17:34:55: (mod_fastcgi.c.1399) [ERROR]: spawning fcgi
failed.
2009-11-20 17:34:55: (server.c.931) Configuration of plugins failed.
Going down.
I had error 11 before, but I did `chmod +x /srv/http/code.py` and now
I got to 8, as you can see upper.
Any ideas how to make it runnin'?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web.py" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---