Breezy - Getting apache to execute python scripts

'Forum Post ulist at gs1.ubuntuforums.org
Fri Oct 7 16:53:21 UTC 2005


Gregory Piñero Wrote: 
> Hi guys,

> 

> I just installed Breezy and I just can't get apache to run python
> scripts.

> When I go to the address of the script, the browser just prompts me to

> download the script!



I had exactly this problem on Breezy. I fixed it (after reading 'this
message'
(http://www.modpython.org/pipermail/mod_python/2003-August/014036.html)
in the mod_python mailing list archives) by commenting out the line:



text/x-python            py



in /etc/mime.types.



I also found 'these instructions'
(http://www.modpython.org/live/current/doc-html/inst-testing.html)
useful.



Pingswept


-- 
pingswept




More information about the ubuntu-users mailing list