[prev in list] [next in list] [prev in thread] [next in thread] 

List:       python-list
Subject:    Re: Apache and Python and Ubuntu
From:       Jorge Godoy <godoy () ieee ! org>
Date:       2006-03-29 22:54:18
Message-ID: 87k6ac7tgl.fsf () ieee ! org
[Download RAW message or body]

msuemnig@jjhill.org writes:

> The problem is the programs just dump the contents to the browser in
> plain text.  Or, in the case of the .py files, I am prompted to
> download the .py file.  How can I get apache to recognize that it
> should execute the .cgi script?
>
> Is there any special thing I need to do to apache to get it to know
> that the python interpreter should be used for all .cgi files?

You should configure your Apache: 

- http://httpd.apache.org/docs/2.2/
  - http://httpd.apache.org/docs/2.2/howto/cgi.html


-- 
Jorge Godoy      <godoy@ieee.org>

"Quidquid latine dictum sit, altum sonatur."
- Qualquer coisa dita em latim soa profundo.
- Anything said in Latin sounds smart.
-- 
http://mail.python.org/mailman/listinfo/python-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic