Could you try changing your  WSGIScriptAlias in httpd.conf

From
WSGIScriptAlias / "C:/mysite/django.wsgi"

To
WSGIScriptAlias /MYSITE "C:/mysite/django.wsgi"

And then access http:localhost:port/MYSITE and tell is the results.

Regards,
Anurag
On Jan 4, 2012 7:19 AM, "Hassan" <halna...@gardeniatelco.com> wrote:

> Dear ALL,
>
> 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+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to