470,636 Members | 1,479 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,636 developers. It's quick & easy.

CGIHTTPServer on Windows?

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?

Jul 19 '05 #1
0 828

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by vincent delft | last post: by
3 posts views Thread by vincent wehren | last post: by
3 posts views Thread by William D. Gill | last post: by
6 posts views Thread by pxlpluker | last post: by
1 post views Thread by Sullivan | last post: by
1 post views Thread by Thomas Guettler | last post: by
2 posts views Thread by Johan Kohler | last post: by
1 post views Thread by Alvin A. Delagon | last post: by
1 post views Thread by mpc | last post: by
1 post views Thread by Korara | last post: by
???
1 post views Thread by Stoney L | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.