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. <br>
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<br>
<BLOCKQUOTE style="PADDING-LEFT: 8px; MARGIN-LEFT: 8px; BORDER-LEFT: blue 2px solid"><BR>-------- Original Message --------<BR>Subject: Re: [Webware-discuss] [newbie] Installed, compiled server: <BR>"Hello World" ?<BR>From: "Frederic Faure" <ffaure@...><BR>Date: Mon, July 21, 2003 7:09 am<BR>To: "Webware discuss" <webware-discuss@...><BR><BR>At 10:01 21/07/2003 -0400, Aaron Held wrote:<BR>>You can use WebKit.cgi, you just have to make sure that Apache can run <BR>>python cgi's. If python is registered you may be able to just change the <BR>>extension from .cgi to .py<BR><BR>Thx for the tip. I'm currenly using Sambar on an NT box just for testing, <BR>but I'll probably switch to Apache later.<BR><BR>>ps. to go from main just pass three lights and make a left.<BR><BR>Got it ;-)<BR><BR>Thx<BR>Fred.<BR><BR><BR><BR>-------------------------------------------------------<BR>This SF.net email is sponsored by: VM Ware<BR>With VMware you can run multiple operating systems on a single machine.<BR>WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the<BR>same time. Free trial click here: http://www.vmware.com/wl/offer/345/0<BR>_______________________________________________<BR>Webware-discuss mailing list<BR>Webware-discuss@...<BR>https://lists.sourceforge.net/lists/listinfo/webware-discuss </BLOCKQUOTE>
Get latest updates about Open Source Projects, Conferences and News.