here is my settings:
---------------------------------------------------------------------
<VirtualHost *:80>
ServerName mydomain.com:80
ServerAlias www.mydomain.com *.mydomain.com
UseCanonicalName Off
ServerAdmin "[email protected]"
DocumentRoot /var/www/hosts/mydomain.com/httpdocs
WSGIScriptAlias / /usr/local/django/mydomain/apache/
django.wsgi
<Directory /usr/local/django/mydomain/apache>
Order deny,allow
Allow from all
</Directory>
</VirtualHost>
----------------------------------------------------------------------------------
and wsgi script:
-------------------------------------------------------------------------
import os, sys
sys.path.append('/usr/local/django')
sys.path.append('/usr/local/django/mydomain')
os.environ['DJANGO_SETTINGS_MODULE'] = 'mydomain.settings'
import django.core.handlers.wsgi
application = django.core.handlers.wsgi.WSGIHandler()
----------------------------------------------------------------------------------
I am on fedora11.
Thanks for any help.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"modwsgi" 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/modwsgi?hl=en
-~----------~----~----~----~------~----~------~--~---