Re: Apache httpd conf with mod_python

2008-09-09 Thread Denis Frère
On Sep 9, 8:33 pm, [EMAIL PROTECTED] wrote: > guys, fixed it. apparently the issue was having it in /home/chris/ > I moved it to var/www/ and now it's working :) i knew it'd be > something as simple as that. I'm glad for you if everything works as you intended, but the problem was certainly not h

Re: Apache httpd conf with mod_python

2008-09-09 Thread mccomas . chris
guys, fixed it. apparently the issue was having it in /home/chris/ i moved it to var/www/ and now it's working :) i knew it'd be something as simple as that. On Sep 9, 1:12 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On Tue, Sep 9, 2008 at 11:53 AM, <[EMAIL PROTECTED]> wrote: > > > i'm really

Re: Apache httpd conf with mod_python

2008-09-09 Thread Karen Tracey
On Tue, Sep 9, 2008 at 11:53 AM, <[EMAIL PROTECTED]> wrote: > > i'm really at a loss. > > mod_python and django are both installed under python2.4. SELinux is > disabled. the standard permissions for the django_projects folder is > 775. everything validates. i can run python at the command line an

Re: Apache httpd conf with mod_python

2008-09-09 Thread mccomas . chris
I think I'm going to start over... I'm running RHEL 5, so I'll have our network admin remove Apache2, then reinstall it and try this all over again. On Sep 9, 1:00 pm, [EMAIL PROTECTED] wrote: > Steve, no dice. > > ImportError: Could not import settings 'settings' (Is it on sys.path? > Does it

Re: Apache httpd conf with mod_python

2008-09-09 Thread mccomas . chris
Steve, no dice. ImportError: Could not import settings 'settings' (Is it on sys.path? Does it have syntax errors?): No module named settings i'm just so friggin confused now :) you think this would work... On Sep 9, 12:53 pm, Steve Holden <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: >

Re: Apache httpd conf with mod_python

2008-09-09 Thread Steve Holden
[EMAIL PROTECTED] wrote: > At first I didn't keep all of the original stuff in the httpd.conf, > but then I went back and put up the copy that I backed up and added > the Django stuff to it. > > i have the django stuff in /home/chris/web/ > > should it be in /var/www ? > Nope, that should not m

Re: Apache httpd conf with mod_python

2008-09-09 Thread mccomas . chris
At first I didn't keep all of the original stuff in the httpd.conf, but then I went back and put up the copy that I backed up and added the Django stuff to it. i have the django stuff in /home/chris/web/ should it be in /var/www ? On Sep 9, 12:19 pm, Steve Holden <[EMAIL PROTECTED]> wrote: > [E

Re: Apache httpd conf with mod_python

2008-09-09 Thread Steve Holden
[EMAIL PROTECTED] wrote: > i'm really at a loss. > > mod_python and django are both installed under python2.4. SELinux is > disabled. the standard permissions for the django_projects folder is > 775. everything validates. i can run python at the command line and > import the settings, etc. > Yo

Re: Apache httpd conf with mod_python

2008-09-09 Thread mccomas . chris
i'm really at a loss. mod_python and django are both installed under python2.4. SELinux is disabled. the standard permissions for the django_projects folder is 775. everything validates. i can run python at the command line and import the settings, etc. On Sep 9, 11:02 am, [EMAIL PROTECTED] wrot

Re: Apache httpd conf with mod_python

2008-09-09 Thread mccomas . chris
thnx. i did test it with the development server and it is working, i've also tried putting up the generic settings.py that is created when you first start a project. On Sep 9, 10:02 am, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On Tue, Sep 9, 2008 at 9:21 AM, <[EMAIL PROTECTED]> wrote: > > > Ka

Re: Apache httpd conf with mod_python

2008-09-09 Thread Karen Tracey
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/ucw

Re: Apache httpd conf with mod_python

2008-09-09 Thread mccomas . chris
Karen, There is a SELinux kernel, but it is set to disabled. 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

Re: Apache httpd conf with mod_python

2008-09-09 Thread Karen Tracey
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

Re: Apache httpd conf with mod_python

2008-09-09 Thread mccomas . chris
Karen, the permissions for the main directory web, and all of the subdirectories is 775. 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 > > requi

Re: Apache httpd conf with mod_python

2008-09-09 Thread mccomas . chris
it wasn't plural, i changed it to plural and then changed it in the httpd.conf, restarted apache, and still no luck. yes, ucwv is at /home/chris/web/django_projects/ucwv On Sep 9, 8:35 am, [EMAIL PROTECTED] wrote: > Ok, it could be that your PythonPath is wrong? > /home/chris/web/django_projec

Re: Apache httpd conf with mod_python

2008-09-09 Thread andylockran
Ok, it could be that your PythonPath is wrong? /home/chris/web/django_project's' rather than the singular project. Does your ucwv sit @ /home/chris/web/django_projects/ucwv? Regards, Andy Karen Tracey wrote: > On Tue, Sep 9, 2008 at 8:05 AM, <[EMAIL PROTECTED] > > w

Re: Apache httpd conf with mod_python

2008-09-09 Thread Karen Tracey
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: > > >SetHandler python-program >PythonPath "['/home/chris/web/django_project'] + sys.path" >PythonHandler django.core.handlers.mod

Re: Apache httpd conf with mod_python

2008-09-09 Thread mccomas . chris
thnx, i've figured it out. the issue i'm having now is with my django requirements in it: SetHandler python-program PythonPath "['/home/chris/web/django_project'] + sys.path" PythonHandler django.core.handlers.modpython SetEnv DJANGO_SETTINGS_MODULE ucwv.settings PythonDebug

Re: Apache httpd conf with mod_python

2008-09-08 Thread Norman Harman
[EMAIL PROTECTED] wrote: > Setting our Apache server at work, got everything installed. In the > httpd.conf there's quite a bit of content, do I need that content, or > should I just replace it with what I need for Django? You probably don't need all of it. But I doubt anything will work if you

Apache httpd conf with mod_python

2008-09-08 Thread mccomas . chris
Setting our Apache server at work, got everything installed. In the httpd.conf there's quite a bit of content, do I need that content, or should I just replace it with what I need for Django? --~--~-~--~~~---~--~~ You received this message because you are subscribed