durusmail: quixote-users: CGIHTTPServer
CGIHTTPServer
2003-05-22
2003-05-22
Re: CGIHTTPServer
2003-05-22
2003-05-22
2003-05-22
2003-05-22
Re: CGIHTTPServer
2003-05-22
2003-05-23
CGIHTTPServer
Mark Bucciarelli
2003-05-22
Hi Andrew,

On Thursday 22 May 2003 9:52 am, Andrew Kuchling wrote:
> On Mon, May 19, 2003 at 04:00:45PM -0400, Mark Bucciarelli wrote:
> >I can't get Quixote to work with Python's CGIHTTPServer.  This
> > issue
>
> Why not use Medusa, Twisted, or even Apache instead?

>From my research, I thought I saw issues with Medusa and Quixote.
Sorry, I no longer have the URL.  Perhaps it was just on Windows?

Simplicity of installation is very important to me.  The requirements
are to create a one-click installer for Windows that will support up
to ten users, with most installs being smaller and many being
stand-alone.  I thought this was a good match for a pure Python
implementation.  I've had pretty amazing results with using the pure
Python xmlrpc server, for example.

I'm on a tight budget and would really like to focus my time on
creating a kick-ass Quixote calendar widget, rather than the install
routines.

Since I'm using pure Python, won't the interpreter always stay open?
(I should read up if to check if popen spawns aother
interpreter--IIRC, that's how CGIHTTPHandler handles cgi requests.)

I will probably just turn off fast cgi to get it working.

> The standard
> library's HTTPServer classes are useful as demos, but they'd need a
> lot of work for production use.

What I have done previously is use a blocking xmlrpc server, and then
make the queue of TCP requests really long (to 300 from the default
of 5).  So far, it has worked great and I don't have to mess around
with threads.

What other work would I need to do?

--
Mark Bucciarelli, www.hubcapconsulting.com
    He who receives an idea from me, receives instruction himself
without lessening mine; as he who lights his taper at mine receives
light without darkening me.   -- Thomas Jefferson


reply