Ok, i've solved the problem, wich was in the PythonPath (no "/mysite" was needed :D ) But now i'm into another truble: As i try to login into the admin, i alway get a message saying my browser does not accepr cookies!! But it isn't true!
Any suggestion? On 4 Mag, 13:13, Haku <[EMAIL PROTECTED]> wrote: > Ok, i'm here with another question :D > > Everithing is fine on my development server (windows), but now i want > to put my project on my production server > > My production Server is a VPS running everithing django needs to run, > so i've modified my httpd.conf file adding the following lines: > > <location "/mysite/"> > SetHandler python-program > PythonPath "['/root/mysite'] + sys.path" > PythonHandler django.core.handlers.modpython > SetEnv DJANGO_SETTINGS_MODULE mysite.settings > PythonDebug On > </location> > > but as i restart apache and surf tohttp://urltoproducion/mysite/I > always get this ugly page with this ugly error: > > EnvironmentError: Could not import settings 'mysite.settings' (Is it > on sys.path? Does it have syntax errors?): No module named > mysite.settings > > where am i wrong? I guess it's a path problem or something like > that... > > Thank you!!! > > Haku --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---