muszek
September 18th, 2005, 09:07 PM
I have apache2 working nicely. I just installed apache2-mod-python2.4 and restarted apache2. When I enter localhost/test.py in my browser, it doesn't parse the script, but wants to open/save it. What should I do?
pingswept
October 7th, 2005, 12:55 PM
I have apache2 working nicely. I just installed apache2-mod-python2.4 and restarted apache2. When I enter localhost/test.py in my browser, it doesn't parse the script, but wants to open/save it. What should I do?
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
vBulletin® v3.7.4, Copyright ©2000-2008, Jelsoft Enterprises Ltd.