Re: setting up a new django site (mod_python)

2008-01-14 Thread Ariel Mauricio Nunez Gomez
> > the path to the actual project itself is located at /home/www/ > django..com/htdocs/mysite/ There it is. It is generally not a good idea to put your project's files on a public folder (htdocs , www) for security reasons. The short advice, without knowing all the other details on your

Re: setting up a new django site (mod_python)

2008-01-14 Thread comike01
sure, though I'd prefer to obscure some information with , but every time that is used it is for the same piece of text. The information I have as of now is as such: in my apache httpd.conf file: setHandler python-program PythonHandler django.core.handlers.modpython SetEnv

Re: setting up a new django site (mod_python)

2008-01-14 Thread Ariel Mauricio Nunez Gomez
comike01, 1. Please post the whole django-related config you have on apache. 2. Tell us what's the name of your project and where it is located on your filesystem. I really don't think the problem is related to the settings value, instead it must be a path configuration problem as Karen

Re: setting up a new django site (mod_python)

2008-01-14 Thread comike01
I beleive I had this set correctly, except for one problem, this line from the documentation: SetEnv DJANGO_SETTINGS_MODULE mysite.settings Im not sure what mysite.settings should be set to. Is there a way I can detect what these values should be? Thanks! On Jan 11, 11:47 pm, "Karen

Re: setting up a new django site (mod_python)

2008-01-11 Thread Karen Tracey
Sorry, I now see you did indicate your server in the subject -- mod_python, and I just didn't see that. So, the next question is did you add the location of your Django project to the PythonPath setting for your site as described here: http://www.djangoproject.com/documentation/modpython/

Re: setting up a new django site (mod_python)

2008-01-11 Thread Karen Tracey
On Jan 11, 2008 6:31 PM, comike01 <[EMAIL PROTECTED]> wrote: > > I am having a disastrous time trying to set up a new django site on my > server. Every time I restart my server with it enabled I get > something along the lines of > " File

setting up a new django site (mod_python)

2008-01-11 Thread comike01
I am having a disastrous time trying to set up a new django site on my server. Every time I restart my server with it enabled I get something along the lines of " File "/usr/local/lib/python2.4/site-packages/django/core/handlers/ base.py", line 27, in load_middleware for middleware_path in