I'm running webpy .2.3 on RHEL5.2 using lighttpd 1.4.19.
My config:
fastcgi.server = ( "/oracle-webpy-test.py" =>
((
"socket" => "/tmp/fastcgi.socket",
"bin-path" => "/srv/www/lighttpd/oracle-webpy-test.py",
"max-procs" => 1,
"bin-environment" => (
#"REAL_SCRIPT_NAME" => "",
"ORACLE_HOME" => "/usr/lib/oracle/10.2.0.4/client64/",
"PATH" => "$PATH:$ORACLE_HOME/bin",
"TNS_ADMIN" => "/etc/oracle",
"LD_LIBRARY_PATH" => "$ORACLE_HOME/lib"
),
"check-local" => "disable"
))
)
url.rewrite-once = (
"^/favicon.ico$" => "/static/favicon.ico",
"^/static/(.*)$" => "/static/$1",
"^/(.*)$" => "/oracle-webpy-test.py/$1"
)
The errors:
==> /var/log/lighttpd/access.log <==
10.161.4.81 10.140.163.33 - [29/Oct/2008:18:19:07 -0500] "GET / HTTP/
1.1" 500 369 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:
1.9.0.3) Gecko/2008092417 Firefox/3.0.3"
==> /var/log/lighttpd/error.log <==
2008-10-29 18:19:07: (mod_fastcgi.c.1743) connect failed: Connection
refused on unix:/tmp/fastcgi.socket-0
2008-10-29 18:19:07: (mod_fastcgi.c.2912) backend died; we'll disable
it for 5 seconds and send the request to another backend instead:
reconnects: 0 load: 1
2008-10-29 18:19:07: (mod_fastcgi.c.2471) unexpected end-of-file
(perhaps the fastcgi process died): pid: 6797 socket: unix:/tmp/
fastcgi.socket-0
2008-10-29 18:19:07: (mod_fastcgi.c.3281) response not received,
request sent: 944 on socket: unix:/tmp/fastcgi.socket-0 for /oracle-
webpy-test.py , closing connection
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---