On Thu, Mar 10, 2005 at 06:11:33PM -0500, cmulcahy@avesi.com wrote: > However, when run in the foreground, I notice that the line "handling > connection" gets printed twice for every connection, leading me to > believe that handle_connection is being called twice. One theory is that you are using Firefox and that requests for /favicon.ico is getting handled by your SCGI server. Firefox is braindamaged and requests favicon.ico on every page load if the the icon does not exist. If that's not the problem, perhaps you can add a print statement to your SCGI server that dumps out the request environment variables. That may provide a clue. Neil