> > Can you check to make sure that your version of scgi_server has that > line? If it does, you've probably ran into a Python bug (or > possibly an OS bug). > > Neil, Thank you so much!! It's working now :) Now I know what the problem was. SCGI is represented in FreeBSD ports collection in two parts: - mod_scgi: "An Apache module that implements the client side of the Simple Common Gateway Interface protocol." - py-scgi: "Python server implementation of the Simple Common Gateway Protocol" Both ports are very out of date: version 0.02. I've modified the mod_scgi port to get the latest version, but I did not modified py-scgi... so the python files I used were very old. Now it works perfectly! Sorry for bothering, Ksenia.