On Tue, Sep 9, 2008 at 9:21 AM, <[EMAIL PROTECTED]> wrote:

>
> Karen,
>
> There is a SELinux kernel, but it is set to disabled.
>

All I can say is the error you are getting, combined with the config you
have shown, means that either Apache cannot read the file:

/home/chris/web/django_project/ucwv/settings.py

or is getting an error tying to import it.  Since I'd guess you've tested
outside of the Apache environment to ensure that settings.py has no syntax
errors, I'd suspect Apache cannot read the file.  Fix that and I believe
things will start working.

Karen


>
> On Sep 9, 8:50 am, "Karen Tracey" <[EMAIL PROTECTED]> wrote:
> > On Tue, Sep 9, 2008 at 8:44 AM, <[EMAIL PROTECTED]> wrote:
> >
> > > Karen,
> >
> > > the permissions for the main directory web, and all of the
> > > subdirectories is 775.
> >
> > And you're not running on some system with an SELinux (e.g.) kernel that
> > uses an access rights structure outside of the basic permissions bits?
> >
> > Karen
> >
> >
> >
> > > On Sep 9, 8:29 am, "Karen Tracey" <[EMAIL PROTECTED]> wrote:
> > > > On Tue, Sep 9, 2008 at 8:05 AM, <[EMAIL PROTECTED]> wrote:
> >
> > > > > thnx, i've figured it out. the issue i'm having now is with my
> django
> > > > > requirements in it:
> >
> > > > > <Location "/">
> > > > >    SetHandler python-program
> > > > >    PythonPath "['/home/chris/web/django_project'] + sys.path"
> > > > >    PythonHandler django.core.handlers.modpython
> > > > >    SetEnv DJANGO_SETTINGS_MODULE ucwv.settings
> > > > >    PythonDebug On
> > > > > </Location>
> >
> > > > > <Location "/media/">
> > > > >    SetHandler None
> > > > > </Location>
> >
> > > > > <LocationMatch "\.(jpg|gif|png)$">
> > > > >    SetHandler None
> > > > > </LocationMatch>
> >
> > > > > in /django_project/ is my project ucwv. i'm getting this error:
> >
> > > > > Mod_python error: "PythonHandler django.core.handlers.modpython"
> >
> > > > > Traceback (most recent call last):
> >
> > > > > [snipped]
> > > > > ImportError: Could not import settings 'ucwv.settings' (Is it on
> > > > > sys.path? Does it have syntax errors?): No module named
> ucwv.settings
> >
> > > > Does the user Apache is running as have read access to
> > > > '/home/chris/web/django_project' and your project directories
> underneath
> > > > there?
> >
> > > > Karen
> >
>

--~--~---------~--~----~------------~-------~--~----~
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