lighttpd SCGI + Quixote, Location / ?

nora central <[email protected]>
Newsgroups gmane.comp.web.quixote.user
Message-ID <[email protected]>
Trying to run the demo application with

Portion of lighttpd.conf:

scgi.server = ("/scgi-test" =>
  ("localhost" =>
   ("host" => "127.0.0.1",
    "port" => 3000,
    "check-local" => "disable")))

python server/scgi_server.py --host=212.254.241.29 --port=3000

http://212.254.241.29:3000
500 - Internal Server Error

http://212.254.241.29/scgi-test
500 - Internal Server Error


cat /var/log/lighttpd/error.log
---------------------------------------------------------
2005-08-16 12:58:58: (log.c.73) server started
[root@titan lighttpd]# cat /var/log/lighttpd/error.log
2005-08-16 12:58:58: (log.c.73) server started
2005-08-16 12:59:36: (request.c.293) fd: 9 request-len: 463
GET /scgi-test HTTP/1.1
Host: 212.254.241.29
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.10) 
Gecko/20050716 Firefox/1.0.6
Accept: 
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Cookie: TRACKID=ea92b4ba35a69c6104f2943da002e942


2005-08-16 12:59:36: (response.c.1019) -- splitting Request-URI
2005-08-16 12:59:36: (response.c.1020) Request-URI  :  /scgi-test
2005-08-16 12:59:36: (response.c.1021) URI-scheme   :  http
2005-08-16 12:59:36: (response.c.1022) URI-authority:  212.254.241.29
2005-08-16 12:59:36: (response.c.1023) URI-path     :  /scgi-test
2005-08-16 12:59:36: (response.c.1024) URI-query    :
2005-08-16 12:59:36: (response.c.1068) -- sanitising URI
2005-08-16 12:59:36: (response.c.1069) URI-path     :  /scgi-test
2005-08-16 12:59:36: (response.c.1167) -- logical -> physical
2005-08-16 12:59:36: (response.c.1168) Doc-Root     : /home/lighttpd/html/
2005-08-16 12:59:36: (response.c.1169) Rel-Path     : /scgi-test
2005-08-16 12:59:36: (response.c.1170) Path         : 
/home/lighttpd/html/scgi-test
2005-08-16 12:59:36: (response.c.1171) Server-Name  : 212.254.241.29
2005-08-16 12:59:36: (mod_scgi.c.2181) establishing connection failed: 
Connection refused
2005-08-16 12:59:36: (mod_scgi.c.2316) fcgi-server disabled: 127.0.0.1 3000
2005-08-16 12:59:36: (response.c.1019) -- splitting Request-URI
2005-08-16 12:59:36: (response.c.1020) Request-URI  :  /scgi-test
2005-08-16 12:59:36: (response.c.1021) URI-scheme   :  http
2005-08-16 12:59:36: (response.c.1022) URI-authority:  212.254.241.29
2005-08-16 12:59:36: (response.c.1023) URI-path     :  /scgi-test
2005-08-16 12:59:36: (response.c.1024) URI-query    :
2005-08-16 12:59:36: (response.c.1068) -- sanitising URI
2005-08-16 12:59:36: (response.c.1069) URI-path     :  /scgi-test
2005-08-16 12:59:36: (mod_scgi.c.2772) no fcgi-handler found for: /scgi-test
2005-08-16 13:00:37: (mod_scgi.c.2009) fcgi-server re-enabled: 127.0.0.1 
3000
[root@titan lighttpd]#
--------------------------------------------------------------------------


Otherwise run ok on: http://212.254.241.29:3000
with
python server/simple_server.py  --host=212.254.241.29 --port=3000

thanks nora
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.