CGIHTTPServer on Windows?

C

Chris Curvey

Hi all,

I'm trying to work around my cgi-driving-IE problem by creating my own
server, but CGIHTTPServer on Windows (python 2.3.5) seems to be having
troubles. Trying to run a "hello world" CGI gives me:

COMPAQ.ANTIQUES - - [11/May/2005 07:18:50] "GET /cgi-bin/hello.py
HTTP/1.1" 200
-
COMPAQ.ANTIQUES - - [11/May/2005 07:18:50] command: c:\program
files\python235\p
ython.exe -u C:\Documents and Settings\chris\My
Documents\cgi-bin\hello.py ""
COMPAQ.ANTIQUES - - [11/May/2005 07:18:50] 'c:\program' is not
recognized as an
internal or external command,
operable program or batch file.

COMPAQ.ANTIQUES - - [11/May/2005 07:18:50] CGI script exit status 0x1

I tried hacking the source of do_POST to put quotes around the name of
the python executable and the script, but that didn't get me anywhere.
Is there a solution to this, or does this approach require me to use
pathnames without embedded spaces?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top