What's the syntax for that? Is that like that chmod?

On Apr 5, 5:08 pm, Michael <[EMAIL PROTECTED]> wrote:
> Simply django can't find your settings.py file. This could be a few things
> but based on where the file is located my bet is that the apache process
> (most likely www-data on ubuntu) doesn't have permissions to access your
> settings.py file. Give www-data permissions to access the file and you
> should be good to roll,
>
> Michael
>
> On Sat, Apr 5, 2008 at 5:53 PM, HangingClowns <[EMAIL PROTECTED]> wrote:
>
> > I should have the latest versions available for Apache and mod_python
> > cause I just put those onto my server about 2 weeks ago. I'm having
> > trouble understanding how to edit the Apache config file for Django. I
> > currently use the code snippet below for my settings in Apache. And
> > this is what the error looks like:
>
> >http://67.207.140.149/mysite/
>
> > Can someone help me out?
>
> > I have started a project in the /home/webmastr/public_html/django
> > called mysite, cause I'm following the tutorial on Djangoproject.org.
> > I did not find their instructions for configuring modpython to be very
> > helpful for me. So, back to subject, within that django folder, is a
> > folder called "mysite" with all of the beginning project python .py
> > files.
>
> >  <Location "/mysite/">
> >        SetHandler python-program
> >        PythonHandler django.core.handlers.modpython
> >        SetEnv DJANGO_SETTINGS_MODULE mysite.settings
> >        PythonDebug On
> >        PythonPath "['/home/webmastr/public_html/django'] + sys.path"
> > </Location>
--~--~---------~--~----~------------~-------~--~----~
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