Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #96071
| From | Dennis Lee Bieber <wlfraed@ix.netcom.com> |
|---|---|
| Subject | Re: Can anyone help me run python scripts with http.server? |
| Date | 2015-09-06 13:11 -0400 |
| Organization | IISS Elusive Unicorn |
| References | <3877a9ae-edbd-4d36-925a-5cb3789bd1bd@googlegroups.com> <mailman.170.1441541749.8327.python-list@python.org> <31ec836b-4cb0-4079-8c12-f6b66a5cd143@googlegroups.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.180.1441559501.8327.python-list@python.org> (permalink) |
On Sun, 6 Sep 2015 05:38:50 -0700 (PDT), tropical.dude.net@gmail.com
declaimed the following:
>
>I am using Windows 7, I followed the instructions, modified httpd.conf
>many times, restarted apache many times till I gave up
And what does the Apache log(s) show... Presuming your URL reaches
Apache, the log should (I don't run a webserver) have some information of
what was requested, what Apache did with it, etc.
If it is handling static pages, but not Python scripts, it could be
that the environment PATH variable that the server runs with does not have
the path to Python on it; or the environment does not have .py defined as
the extension of an executable program...
Just repeating "it doesn't work" is not going to find a solution!
"It doesn't work" : you are sending requests to a port that isn't listening
for web requests
"It doesn't work" : the server doesn't know where to look for the page
"It doesn't work" : the server doesn't have privileges to run code
"It doesn't work" : the code is started but fails to return anything the
server can send to the user
...
Log files should give some idea of which of those "it doesn't work"
might be the real problem.
--
Wulfraed Dennis Lee Bieber AF6VN
wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Can anyone help me run python scripts with http.server? tropical.dude.net@gmail.com - 2015-09-06 04:50 -0700
Re: Can anyone help me run python scripts with http.server? Laura Creighton <lac@openend.se> - 2015-09-06 14:15 +0200
Re: Can anyone help me run python scripts with http.server? tropical.dude.net@gmail.com - 2015-09-06 05:35 -0700
Re: Can anyone help me run python scripts with http.server? tropical.dude.net@gmail.com - 2015-09-06 05:38 -0700
Re: Can anyone help me run python scripts with http.server? Laura Creighton <lac@openend.se> - 2015-09-06 14:45 +0200
Re: Can anyone help me run python scripts with http.server? tropical.dude.net@gmail.com - 2015-09-06 06:07 -0700
Re: Can anyone help me run python scripts with http.server? Chris Angelico <rosuav@gmail.com> - 2015-09-06 23:23 +1000
Re: Can anyone help me run python scripts with http.server? Denis McMahon <denismfmcmahon@gmail.com> - 2015-09-06 20:04 +0000
Re: Can anyone help me run python scripts with http.server? Chris Angelico <rosuav@gmail.com> - 2015-09-07 12:48 +1000
Re: Can anyone help me run python scripts with http.server? Laura Creighton <lac@openend.se> - 2015-09-06 17:03 +0200
Re: Can anyone help me run python scripts with http.server? Chris Angelico <rosuav@gmail.com> - 2015-09-07 01:13 +1000
Re: Can anyone help me run python scripts with http.server? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2015-09-06 13:11 -0400
Re: Can anyone help me run python scripts with http.server? tropical.dude.net@gmail.com - 2015-09-06 05:42 -0700
Re: Can anyone help me run python scripts with http.server? Chris Warrick <kwpolska@gmail.com> - 2015-09-06 14:16 +0200
Re: Can anyone help me run python scripts with http.server? Laura Creighton <lac@openend.se> - 2015-09-06 14:28 +0200
Re: Can anyone help me run python scripts with http.server? Peter Otten <__peter__@web.de> - 2015-09-06 14:32 +0200
Re: Can anyone help me run python scripts with http.server? Peter Otten <__peter__@web.de> - 2015-09-06 14:43 +0200
Re: Can anyone help me run python scripts with http.server? tropical.dude.net@gmail.com - 2015-09-06 05:47 -0700
csiph-web