>
> 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
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
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
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
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/
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
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
7 matches
Mail list logo