Thanks, looks like we are making progress :)

Now I get

Page not found (404)
Request Method: GET 
Request URL: http://django.weberdev.com:82/mysite/ 

Using the URLconf defined in mysite.urls, Django tried these URL patterns,
in this order: 

^admin/ 
The current URL, /mysite/, didn't match any of these.

You're seeing this error because you have DEBUG = True in your Django
settings file. Change that to False, and Django will display a standard 404
page.

-----Original Message-----
From: django-users@googlegroups.com [mailto:[EMAIL PROTECTED]
On Behalf Of Daniel Roseman
Sent: יום ב 01 ספטמבר 2008 15:57
To: Django users
Subject: Re: EnvironmentError: Could not import settings


On Sep 1, 1:52 pm, "Weber Sites" <[EMAIL PROTECTED]> wrote:
> Hi
>
> I'm trying to get the the tutorial02 (mysite) to work with apache.
> No matter what I do I keep getting this error :
>
> EnvironmentError: Could not import settings 'mysite.settings' (Is it on
> sys.path? Does it have syntax errors?): No module named mysite.settings
>
> <Location "/mysite/">
>     SetHandler python-program
>     PythonHandler django.core.handlers.modpython
>     SetEnv DJANGO_SETTINGS_MODULE mysite.settings
>     PythonOption django.root /mysite
>     PythonDebug On
>     PythonPath "['/home/WWW2/mysite'] + sys.path"
> </Location>
>
> mysite.settings is at /home/WWW2/mysite
>
> thanks
> berber


No it isn't, mysite.settings is at /home/WW2 (unless your settings
file is actually in /home/WW2/mysite/mysite, which I doubt).

Also, don't hijack existing threads, post your query in a new thread.
--
DR.


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