CGI problems in Personal Web Server

Bertilo Wennergren bertilow at hem.passagen.se
Sun Sep 10 05:23:49 EDT 2000


pehr anderson:

> Bertilo Wennergren wrote:

> > I have weird problems getting Python 2.0 CGI to work in my Personal
> > Web Server (Microsoft). All I get is "Internal server error ".

> > The funny thing is that I had CGI with Python 1.6 running just fine
> > only two days ago. I had the Active State distribution installed, and
> > I had changed the necessary registry setting. Everything worked
> > perfectly.

> > Then I uninstalled 1.6 and installed 2.0 instead, but now it's
> > impossible to get CGI working in PWS. Even stranger, the section
> > in the registry that controls this has stopped having any effect
> > at all. A long while ago I got CGI with perl working by changing
> > these registry settings - and offering a heard or two of goats... -
> > but now perl CGI keeps running even if I delete that part of
> > the registry. It simply doesn't matter what I do. The before
> > crucial registry settings have stopped having any relevance
> > whatsoever. Perl CGI runs along happily, and Python CGI is
> > impossible to activate.

> I'm not sure if you will get much constructive advice other
> than "switch to apache" allong with "use a server-grade OS like 
> NT Workstation or linux".

Maybe not.
 
> Apache does run well under all flavors of windows, however Win 95/98 
> are simply not designed to be friendly to long-running server
> processes.  If you can't upgrade a server OS, then you will at least
> want to evaluate upgrading to Apache. 
 
> I don't know if this is helpful in the short term, but in the
> long term it will be valuable to have the flexability and control
> provided by the apache server.

Regretfully I wouldn't be able to do any ASP work on Apache. I do
a lot of ASP as well. It would be really nice to be able to develop 
CGI in Perl, CGI in Python, ASP in VBScript, ASP in JavaScript, and
ASP in PerlScript - all in the same server. Maybe I could add PHP
as well. (I don't know about Java servlets...)

> Microsoft *has* to cripple their
> personal web server as it can't be allowed to compete with their
> expensive IIS webserver.  Their business incentives prevent them 
> from giving you a good solution.

PWS is OK for development of things that will later run on IIS.

> Apache gives everybody "full power" on any platform.
> http://apache.org/docs/windows.html

Does "full power" include ASP?

-- 
#####################################################################
                         Bertilo Wennergren
                 <http://purl.oclc.org/net/bertilo>
                     <bertilow at hem.passagen.se>
#####################################################################





More information about the Python-list mailing list