I have been have a huge amount of trouble trying to get everything to work. 
I have django 1.6 and python 3.3 working fine, everything runs when i do 
python3 manage.py runserver. I just can't seem to mod_wsgi to work right. I 
compile mod_wsgi from source.

Firstly, i cannot get the simple hello world application to work, i have 
modified output = 'Hello World!' to be output = b'Hello World!' and I 
always get teh same thing 500 internal server error, in httpd.conf i have:
LoadModule wsgi_module /usr/lib/httpd/modules/mod_wsgi.so  THIS seems to be 
fine, if i dont add this then apache wont start if i do WGSIScriptAlias
WSGIScriptAlias /apple /var/www/html/scripts/myapp.wsgi        AS far as i 
can tell this is what it should be, then I have the standard:
<Directory "/var/ww/html/script"> 
Order allow,deny
#Allow from all
Require all granted
</Directory>

I have tried both allow from all and require all granted, neither make a 
difference, always get 500 internal server error

When trying to deploy a django app I have the following:
LoadModule wsgi_module /usr/lib/httpd/modules/mod_wsgi.so
WSGIScriptAlias /a/ /home/jbelushi/djcode/aWebSite/aWebsite/wsgi.py
WSGIPythonPath /home/jbelushi/djcode/aWebSite

After that i have the directory tags for "/home/jbelushi/djcode/aWebSite" 
and tried with and without the files tags for wsgi.py, nothing works, I 
always get FORBIDDEN page

I just can't figure out what the problem is, it seems like it should be 
fairly straight forward but maybe there is a step that you are just 
supposed to know but nobody says what it is so nobody knows.

Lastly, YES i have tried every tutorial on DjangoBooks.com related to 
deploying django using mod_wsgi

-- 
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/d/optout.

Reply via email to