hi

all my projects are stored at /Users/blant/Sites
i've created a project there using django 1.0 called "myproj"
apache 2 is all set up with mod_python
when running the "manage.py runserver" it reaches the project alright:
it finds my settings.py, reads the urls.py etc

when running the apache server it does not find the settings.py: it
just shows that "welcome to django" page

my /etc/hosts has:

127.0.0.1 local.myproj.com

my httpd.conf goes:

<VirtualHost "local.myproj.com">
    DocumentRoot "/Users/blant/Sites/myproj"
    <Location "/">
        SetHandler python-program
        PythonHandler django.core.handlers.modpython
        SetEnv DJANGO_SETTINGS_MODULE myproj.settings
        PythonOption django.root /myproj
        PythonDebug On
        PythonPath "['/Users/blant/Sites'] + sys.path"
        PythonInterpreter myproj
    </Location>
</VirtualHost>

any ideas?
thanks

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to