i have my application in "C:/mysite"
and i created a wsgi file in "C:/mysite" , that has :
import os
import sys
path = 'C:/mysite'
if path not in sys.path:
sys.path.append(path)
os.environ['DJANGO_SETTINGS_MODULE'] = 'mysite.settings'
import django.core.handlers.wsgi
application = django.core.handlers.wsgi.WSGIHandler()
and i added this to httpd.conf :
WSGIScriptAlias / "C:/mysite/django.wsgi"
then i restarted my apache and open the local host and got nothing it
gives me the apache defualt page ....
what to do , help me please !!!
--
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