cgi on windows (was Re: What's the best Python GUI package?)
Quote:
> .py :REG_SZ: c:\<path to python>\python.exe %s %s
It had been suggested here before to use the switches:
-u %s %s
instead of
%s %s
Also, on the issue of cgi and Netscape servers, the subject came up with
setting up Tcl scripts for cgi on a Netscape server.
The following is a quotation that you may want to read:
******************
thanks for the quick reply. I followed your instructions on how to set up
Tcl with NT and IIS and PWS for Win 95
step by step.
but since we use Netscape Enterprise Server as Web-SErver the thing with
the registry didnt work.
This is what I had to do instead:
1) Create an association from NT-Explorer (View-Options-Filetypes) for
the extension .cgt (or your favorite cgi extension) to tell NT to open .cgt
with "/fullpath/tclsh80.exe
%1" (use Python here of course with the instructions above).
2) From the Server Manager of the Enterprise Server create o new MIME
type for .cnt with type "magnus-internal/shellcgi"
(Alternatively one can create a special shellCGI-Directory instead, but
I rather like to place my scripts anywhere.)
Now it works great!!
************************
Well here it is and hop eit works for you too!
Maan
--
Maan M. Hamze
http://wwp.mirabilis.com/1841864