durusmail: quixote-users: scgi configuration for Apache?
scgi configuration for Apache?
2003-11-25
2003-11-26
2003-11-26
2003-11-26
scgi configuration for Apache?
Neil Schemenauer
2003-11-25
On Tue, Nov 25, 2003 at 12:33:36PM -0800, Dave Kuhlman wrote:
>   File "/usr/local/lib/python2.3/site-packages/scgi/scgi_server.py", line 29,
in ns_read_size
>     return long(size)
> ValueError: invalid literal for long(): GET /qotd HTTP/1.1
> User-Agent

Something very strange is going on.  I would suggest some low-level
debugging.  As root:

    tcpdump -i lo -s 1500 -w  port 3001

Try loading a page again.  Interrupt the tcpdump process and run (as
a normal user):

    ethereal -r 

Select the TCP packet with SYN flag set and use the "follow TCP
stream" command to find out what is being sent to the SCGI server.
It seems like mod_scgi is violating the protocol.  That's weird and
something else must be going on.

> Is there any more information about the various Web server
> alternatives and how to set them up besides "Web Server
> Configuration for Quixote" (web_server.html in the Quixote docs)?
> That's a helpful document, but I could use more information.

Not that I know of.

  Neil

reply