[Newb] Help getting Python to work wuth Apache2
My vhost file looks like:
<virtualhost 66.228.41.252:80="">ServerAdmin richtestani@mac.com
ServerName friendflix.me
ServerAlias www.friendflix.me
DocumentRoot "/srv/www/friendflix.me/public_html/"
ErrorLog /srv/www/friendflix.me/logs/error.log
CustomLog /srv/www/friendflix.me/logs/access.log combined
<location "="" friendflix"="">SetHandler python-program
PythonHandler django.core.handlers.modpython
PythonOption django.root /friendflix.me
PythonPath "['/srv/www/friendflix.me/public_html/', '/srv/www'] + sys.path"
SetEnv DJANGO_SETTINGS_MODULE friendflix.settings
PythonDebug On</location></virtualhost>
I have a file at friendflix.me/index.py
The code is simply spit out like a regular text file - no interpreting done.
Is there something I am missing? I installed modpython and modwsgi but maybe they arent enabled?
ny help here would be awesome.
Thanks
Rich
1 Reply
deployment instructions herebasic installation steps