Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Web.py not working with lighttpd.
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Sierinjs  
View profile  
 More options Nov 20 2009, 11:00 am
From: Sierinjs <sieri...@gmail.com>
Date: Fri, 20 Nov 2009 08:00:59 -0800 (PST)
Local: Fri, Nov 20 2009 11:00 am
Subject: Web.py not working with lighttpd.
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'?


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2010 Google