Re: wsgi configuration

2011-04-05 Thread Graham Dumpleton
Stop changing things around so much, it makes any suggestions by people useless by the time they suggest it. Go watch: http://code.google.com/p/modwsgi/wiki/WhereToGetHelp?tm=6#Conference_Presentations It explains how to do things and where you can go wrong. Graham On Wednesday, April 6, 2011

Re: wsgi configuration

2011-04-05 Thread Mark
Not sure if this will help, but worth a stab. Check this page: http://code.google.com/p/modwsgi/wiki/IntegrationWithDjango I had a similar error and it fixed it for me. After it tells you how to set up the django.wsgi it says this may not work if you used the Django server to set up your site. Dja

Re: wsgi configuration

2011-04-05 Thread yongzhen zhang
Hi, thanks for reply, i have tried this. Now in order to make it clear, i move the iStore under home, like this: "/home/yongzhen/ iStore". django.wsgi is inside apache file and the apache file is under iStore: "/home/yongzhen/iStore/django.wsgi". The content of django.wsgi: import os, sys wsgi_dir

Re: wsgi configuration

2011-04-05 Thread anvydigital
try changing: os.environ['DJANGO_SETTINGS_MODULE']='www.iStore.settings' to: os.environ['DJANGO_SETTINGS_MODULE']='iStore.settings' Since 'www' folder is on your path. GL -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this g

Re: wsgi configuration

2011-04-05 Thread yongzhen zhang
Hi, i changed the path to path='/home/yongzhen/workspace/www' But it still has error: 21:31:30 2011] [error] [client 82.130.18.44] mod_wsgi (pid=7421): Exception occurred processing WSGI script '/home/yongzhen/workspace/ www/apache/django.wsgi'. [Tue Apr 05 21:31:30 2011] [error] [client 82.130.18

Re: wsgi configuration

2011-03-31 Thread george
the path should be: path='/home/yongzhen/workspace/www' for iStore.settings to resolve On Mar 31, 1:40 pm, yongzhen zhang <4...@live.cn> wrote: > Hi, > I am using apache + wsgi for my Django project. But now i am a bit > confused. The project is under /home/yongzhen/workspace/www . I put > the a

wsgi configuration

2011-03-31 Thread yongzhen zhang
Hi, I am using apache + wsgi for my Django project. But now i am a bit confused. The project is under /home/yongzhen/workspace/www . I put the apache folder under www, and it is same level with the project "iStore". i write django.wsgi inside apache like this: import os import sys path='/home/yongz