Re: cgi.FieldStorage() not working on Windows

2007-06-13 Thread arorap
OOps .. yes I mean mod_python. I've been using PHP way too long :P .. hence the typo On Jun 13, 4:01 am, Graham Dumpleton <[EMAIL PROTECTED]> wrote: > On Jun 13, 12:58 pm,arorap<[EMAIL PROTECTED]> wrote: > > > Thanks for your reply. > > > The reason I want

Re: cgi.FieldStorage() not working on Windows

2007-06-12 Thread arorap
? On Jun 12, 7:59 pm, Graham Dumpleton <[EMAIL PROTECTED]> wrote: > On Jun 13, 1:17 am,arorap<[EMAIL PROTECTED]> wrote: > > > > > I've mod_php installed with Apache 2.2. In one of my folders, I'm > > using the cgihandler as the PythonHandler as my

How does mod_python know where's Python installed ?

2007-06-12 Thread arorap
Hi, I recently setup mod_python successfully and things work smooth. However, I do not remember telling mod_python where to find Python installation. There's not environment variable which gives that information. As such how does mod_python know where to find Python ? When I print sys.path in my s

cgi.FieldStorage() not working on Windows

2007-06-12 Thread arorap
I've mod_php installed with Apache 2.2. In one of my folders, I'm using the cgihandler as the PythonHandler as my target host runs python only as CGI. Here cgi.FieldStorage() doesn't seem to work. I can see the form data in sys.stdin but cgi.FieldStorage() returns an empty dictionary. Here's the co