On windows if you want to run a python file as a cgi with apache you must use a different extension other then .py, co .cgi works best.  Also remember to use the #! to correctly point to your python exe since apache uses it to run cgi's. 
 
But if you are on windows and you are using apache why are you using the cgi method?  why not use the webkit.dll?  I have been using Webware with apache on windows for quite a while not and find that this is the most stable approach
 
Jose



-------- Original Message --------
Subject: Re: [Webware-discuss] [newbie] Installed, compiled server:  
"Hello World" ?
From: "Frederic Faure" <[EMAIL PROTECTED]>
Date: Mon, July 21, 2003 7:09 am
To: "Webware discuss" <[EMAIL PROTECTED]>

At 10:01 21/07/2003 -0400, Aaron Held wrote:
>You can use WebKit.cgi, you just have to make sure that Apache can run
>python cgi's. If python is registered you may be able to just change the
>extension from .cgi to .py

Thx for the tip. I'm currenly using Sambar on an NT box just for testing,
but I'll probably switch to Apache later.

>ps. to go from main just pass three lights and make a left.

Got it ;-)

Thx
Fred.



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss
------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to