Standalone CGI Server - Question for Group
Roger
haaserdnospam at yahoo.com
Thu Mar 28 21:58:50 EST 2002
With only a year+ of experience, I second the motion for Apache. I
started with Microsoft PWS, tried a couple of other "simple" solutions
and wound up using Apache. The configuration files tend to look
overwhelming as there are a lot of choices, but for the most part the
defaults are what you want.
I would also suggest you take a look at Webware's WebKit at
http://webware.sourceforge.net/. It provides an object-oriented
framework for your web applications and makes DEBUGGING your scripts
easy (which is what you will need).
I also use MySQL for a database, and MySQLfront as a gui interface to
MySQL. All of these are free and all have Linux versions (with the
exception of MySQLfront).
Roger
Gerhard Häring wrote:
> Sloth wrote in comp.lang.python:
>
>>I've looked at Apache, Xitami, Zope, Medusa, et. al and think they are
>>wonderful applications. On the other hand, they are overkill for what
>>I want to be able to do - have Python start a CGI server, serve a
>>page, get form data, get data from a database, and display dynamic
>>content. I don't need anything industrial strength, just something
>>that can handle a single user.
>>
>
> Maybe it's just me, but I often have difficulties to understand the
> point of the "overkill" argument.
>
>
>>Any thoughts? I sincerely appreciate everyone's help!
>>
>
> If you can spare 5 megs of RAM and a little disk space, just go for
> Apache (or Xitami, or whatever). When you're running the webserver and
> are not using it currently, it'll be swapped out anyway, so why
> bother?
>
> It's a myth that Apache is complex to get running, here's what you'd
> need to do on Windows:
>
> 1) Install Python
> 2) Install Apache
> 3) edit etc/httpd.conf and add the line
>
> ScriptInterpreterSource Registry
>
> at the end of the file.
>
> 4) Write your Python CGI scripts in cgi-bin and name them .py
>
> Gerhard
>
More information about the Python-list
mailing list