On May 25, 9:03 pm, Kenneth Gonsalves <[email protected]> wrote:
> you need to add the path to the *parent* directory of your project, and your
> project should have __init__.py in every folder where there are python files
Thanks. I added __init__.py to an apache directory I created in my
project directory that includes the wsgi file.
Now Apache does NOT give me an error. Rather, now Apache just spins
and spins in some infinite loop never loading my django web page!?!?
No errors appear in the Apache error.log because it just spins waiting
to finish something.
....
Here is my wsgi file.....
================================================================
import sys
sys.path.append("/home/seb/MAIN")
import django.core.handlers.wsgi
import os
os.environ["DJANGO_SETTINGS_MODULE"] = "seoconquer.settings"
application =
django.core.handlers.wsgi.WSGIHandler()
Here is relevant part of my Apache config inside my vhosts......
================================================================
WSGIDaemonProcess seoconquer.com threads=25
WSGIProcessGroup seoconquer.com
WSGIScriptAlias /
\
/home/seb/MAIN/seoconquer/apache/
application.wsgi
<Directory /home/seb/MAIN/seoconquer/apache>
Order Allow,Deny
Allow from All
</Directory>
Any help still greatly appreciated as always.
Chris
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.