[96940] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: pyhton and apache

daemon@ATHENA.MIT.EDU (Eric Lee Green)
Fri Oct 30 09:09:05 1998

Date: Fri, 30 Oct 1998 10:09:30 -0500 (EST)
From: Eric Lee Green <eric@linux-hw.com>
To: Pete <plaven@idl.net.au>
cc: redhat-list@redhat.com
In-Reply-To: <199810251102.WAA17518@spice.idl.com.au>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

On Sun, 25 Oct 1998, Pete wrote:
> Hi everyone,
> 
> I have been trying to get start to work, and it needs python.  I have 
> python installed, but I'm not sure if it's setup for apache.
> 
> Is there a way to find out if apache is setup to allow/support 
> python?

No need to set it up, if you're talking CGI scripts. The default Red Hat
setup in 5.1 will automatically execute any scripts under the
/home/httpd/cgi-bin directory (well, as long as they have their execute
bits set). Just use your browser to say something like
http://localhost/cgi-bin/foo.py to actually run it. 

There is a way to embed the Python interpreter into Apache, but I haven't
gotten to that level yet. 
--
Eric Lee Green         eric@linux-hw.com     http://www.linux-hw.com/~eric
"To call Microsoft an innovator is like calling the Pope Jewish ..." 
            -- James Love (Consumer Project on Technology)


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
		http://www.redhat.com http://archive.redhat.com
         To unsubscribe: mail redhat-list-request@redhat.com with 
                       "unsubscribe" as the Subject.


home help back first fref pref prev next nref lref last post