A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2001-April/102380.html below:

Python and Apache

Python and ApacheDavid Fuess fuess1 at home.com
Mon Apr 16 15:38:19 EDT 2001
Yes, that's what I thought also, but I am able to execute

/usr/local/bin/python /home/httpd/cgi-bin/hello

and it works. Also I've checked and everything is where it's supposed
to be. "which python" returns "/usr/local/bin/python".  Interesting
though that when I attempt ./hello when CWD=/home/httpd/cgi-bin I get
the file not found error also(?). I'm wondering if the /cgi-bin/ ->
/home/httpd/cgi-bin is working correctly. The error message says that
something was not found but does no indicate what it was looking for!

Dave

On Mon, 16 Apr 2001 12:22:17 -0700, Erik Max Francis <max at alcyone.com>
wrote:

>David Fuess wrote:
>
>> I'm having a heck of a time convincing my Apache web server
>> that it's ok to run Python CGI scripts. The test script
>> "hello" does indeed exist in the proper directory and runs fine
>> under Python from the command line. But when I try to run it
>> from a browser as in http://<server>/cgi-bin/hello it fails.
>> Any ideas?
>
>The first error suggests that the file isn't where you think it is, or
>that the python interpreter isn't where you think it is.


More information about the Python-list mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4