Hello everyone!

I was googling for the last 3 hours and cannot find the answer to my 
problem.

I have a django project that works great on the development server 
(runserver).
Now I want to deploy it on the local server. I am working on Windows 7.

I downloaded and included mod_wsgi. I followed django book, but 
instructions are a bit weird 
since some pages use apache.wsgi file, and some wsgi.py file. I have a 
version of django that
created wsgi.py file.

httpd.conf looks like this:
--------------------------------------------------
WSGIScriptAlias http://192.168.81.59/ktksurvey/ktkanketa 
"D:/Research/09-BuildingARecommender/xampp/htdocs/ktksurvey/ktkanketa/wsgi.py"
WSGIPythonPath "D:/Research/09-BuildingARecommender/xampp/htdocs/ktksurvey/"
 <Directory 
"D:/Research/09-BuildingARecommender/xampp/htdocs/ktksurvey/ktkanketa/">
 <Files wsgi.py>
Order deny,allow
Require all granted
</Files>
</Directory> 
-------------------------------------------

wsgi.py:
--------------------------------------------
import os
os.environ["DJANGO_SETTINGS_MODULE"] = "ktkanketa.settings"
from django.core.wsgi import get_wsgi_application
application = get_wsgi_application()
--------------------------------------------

when i run apache and enter url: "http://192.168.81.59/ktksurvey/ktkanketa"; 
I simply open that folder in the browser... and
the app doesnt start. ?!?!

I repeat, with runserver it works withot a problem.

Please, I am desperate, help me!
Let me know what other info you need!

Thanks in advance!

Best

Chip


-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to