Python 2.1 CGI engine for PWS (Win98) => Error 500

Maan Hamze MHAMZE at austin.rr.com
Mon Aug 20 04:27:37 CEST 2001


Gillou
change the key to something like .gcp
reboot, and see if it works.
Try it with a very simple script:
print 'Content-type: text/html'
print 'testing python cgi'

for the value, try:
"C:\Python21\python.exe %s %s"
or
"C:\Python21\python.exe -u %s %s"

"Gillou" <nospam at bigfoot.com> wrote in message
news:9losla$2mns$1 at norfair.nerim.net...
> Hi,
>
> I made this change to the Window registry for this and it does not work
> (http error 500)
>
> Directory
>
"HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\W3SVC\Parameters\Scrip
> t Map"
> Key ".py"
> Value "C:\Python21\python.exe %s %s"
>
> Did I forget something ?
>
> TIA
>
> --Gillou
>
>
>
>





More information about the Python-list mailing list