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/066611.html below:

Python and Apache

Python and Apache Python and ApacheMichael Hall py.list at mulga.com.au
Mon Apr 16 22:04:45 EDT 2001
What extension does the CGI script have ... .py or .cgi ?
Might make a difference.

Mick


On Mon, 16 Apr 2001, Erik Max Francis wrote:

> David Fuess wrote:
> 
> > 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.
> 
> Well, check it.
> 
> If the paths are correct, then it's probably either 1. the script is
> executable by you but not by nobody (what Apache runs as) or 2. you have
> Apache configured in such way that it will execute CGI scripts only if
> they end in .cgi.
> 
> -- 
>  Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
>  __ San Jose, CA, US / 37 20 N 121 53 W / ICQ16063900 / &tSftDotIotE
> /  \ Let he who does not know what war is go to war.
> \__/ (a Spanish proverb)
>     Erik Max Francis' bookmarks / http://www.alcyone.com/max/links/
>  A highly categorized list of Web links.
> -- 
> http://mail.python.org/mailman/listinfo/python-list
> 




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