Re: Deploying Django with mod_wsgi
Graham thanks for all your help, and patience, i will read the the
information in the link you provided, this is the exact configuration
i added to the httpd.conf file :
LoadModule wsgi_module modules/mod_wsgi.so
WSGIScriptAlias / /home/ashtanga/public_html/ash/apache/django.wsgi
the path to my Django project is /home/ashtanga/public_html/ash
This is my django.wsgi:
import os
import sys
sys.path.append('/home/ashtanga/public_html/ash') # again i changed
the actual adress for
security purposes but the path leads to my project called ash
os.environ['DJANGO_SETTINGS_MODULE'] = 'ash.settings'
import django.core.handlers.wsgi
application = django.core.handlers.wsgi.WSGIHandler()
i will try the quick fix provided by Izantal
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home