On Sun, Sep 16, 2007 at 07:17:04PM +0100, Hamish Lawson wrote: > Here's the request I send (I'm using wget just now because currently > the web server is behind a firewall from me and so I'm using a > terminal session, but I get a similar result at other times with a > regular browser): > > wget --post-data=var=stuff --http-user=XXX --http-passwd=XXX -O log > http://positron:8080/advising/dump > > And here's the dump of the received request: > > ==== > Form: > > Cookies: > > Environment: > AUTHENTICATE_UID hbl > CONTENT_LENGTH 0 Hi Hamish, Sorry for the slow response. I can't reproduce this Quixote 2.5b1, Apache 2.2.4 and mod_scgi 1.12 on Debian. The problem appears to be inside Apache 2 because the Quixote side of SCGI is getting CONTENT_LENGTH=0 (or at least it thinks so). I don't have much idea as to what's wrong, maybe some Apache options are turned on for that virtual directory or location that are confusing mod_scgi. The way I would debug it would be to start with a minimal Apache configuration and see if that works. If so, keep adding stuff until it stops working. You could try getting Quixiote out of the picture. Use a Apache config like this: LoadModule scgi_module /usr/lib/apache2/modules/mod_scgi.so SCGIMount /dynamic 127.0.0.1:3000 Then run the "scgi_server.py" module in the scgi distribution, i.e. $ python scgi_server.py 3000 That's a simple echo server which is useful for debugging. Neil