David Binger wrote: > On Apr 11, 2005, at 7:12 PM, mso@oz.net wrote: >> >> I'd like to print the headers and body the webserver is receiving, but >> the >> conversion from Response to HTTP response happens inside scgi.c, and I >> don't know enough C to do that. > > Look for the Firefox "liveheaders" plugin. It is really nice for this. Unfortunately it's not compatible with Firefox 1.0. But in any case, the problem is the headers SCGI sends to Apache, not the headers Apache sends to the browser. Apache sends a normal Internal Server Error. >> There's a longer-standing problem with pressing Reload on a dynamic >> page >> and the images disappearing, then reappearing with Shift-Reload. This >> may >> or may not be related because they are also StaticFiles, but it's >> happening on a different set of browsers. It happens on Linux/Firefox >> and >> several Windows browsers but not on Linux/Konqueror. This occurs only >> with SCGI, not with the simple server. > > Are you using Apache2 with mod_scgi? Yes. On Linux, if that matters. > Also, have you noticed the cgi2scgi program in mod_scgi? That seems > like > an attractive alternative, and it allows for handling several requests > at a time. That immediately gives a "Premature end of script headers" in the Apache log with no further explanation, and no messages in the Quixote access log or error log. I also tried FastCGI, and that works once but then hangs for further requests. But either of these also causes problems with my URLs coz I'd need to use mod_rewrite to hide the /cgi-bin/app.cgi2scgi or ..fcg prefix, and then the redirects in my application put the /cgi-bin... prefix back in because it's part of the script_name. Sigh. Would anyone feel like modifying scgi.c to dump the headers and part of the body to a file before passing them them to Apache? It looks like my only other alternative is to go back to the old way with Basic Authentication. > > > _______________________________________________ > Quixote-users mailing list > Quixote-users@mems-exchange.org > http://mail.mems-exchange.org/mailman/listinfo/quixote-users >