durusmail: quixote-users: has_info(), StaticDirectory, production environment on Windows, adding dynamically ptl pages
has_info(), StaticDirectory, production environment on Windows, adding dynamically ptl pages
2004-09-20
has_info(), StaticDirectory, production environment on Windows, adding dynamically ptl pages
2004-09-20
has_info(), StaticDirectory, production environment on Windows, adding dynamically ptl pages
2004-09-20
has_info(), StaticDirectory, production environment on Windows, adding dynamically ptl pages
has_info(), StaticDirectory, production environment on Windows, adding dynamically ptl pages
Thomas Guettler
2004-09-20
Am Montag, 20. September 2004 11:07 schrieb Ruben Decrop:
> I am new to Quixote.  I am writing a kind of content management system
> and  Quixote looks really nice.

>  - Is there a Windows production environment for Quixote? Plain CGI is
> not an option, mod_scgi does not compile on windows because it uses
> apxs, mod_fastcgi runs on Windows but the fcgi.py does not, Medusa is
> not really a production environment, nsapi/isapi are not supported, ...
> Are there plans to develop a fastcgi program or an isapi script in C
> which embeds Python script that creates the Publisher instance, or to
> make mod_scgi ported to Windows?

cgi2scgi is a small C programm which can be used as cgi-script
which passes the request to an scgi server. For me, most of the time
plain cgi is fast enough.

But the worker processes are created with os.fork(). I think that is
not available for windows (without cygwin).

> - When the content of a site is altered (e.g. adding a page), Quixote
> needs to restarted, which is not nice in a pruction environment.

Yes, you need to restart the scgi server if you modify a page
which gets imported from python.

In production environment, these files should not get altered.

If you want to change ptl files, AFAIK you could use __import__ .
===> python
>>> help(__import__)

HTH,
 Thomas

reply