Hi,
Try changing
sys.path.append("/var/www/store/")
to
sys.path.append("/var/www/")
And also make the settings to store.settings
Hope it helps
lzantal
On Feb 24, 2011, at 12:16, raulcd <[email protected]> wrote:
> Hi,
>
> I need some help configuring my satchmo store with apache. I started
> using Satchmo and I created the default store. I can run it with the
> command:
>
> python manage.py runserver
>
> And it works perfectly. I can navigate without any problem.
> But the problem arrives when I try to use it with the apache and wsgi,
> I get a 500 Internal Server Error.
> I think my wsgi file is loaded correctly, but the problem is when
> loading the module store.localsite. As I can see from apache
> error.log:
>
> [Thu Feb 24 12:07:25 2011] [error] [client 127.0.0.1]
> TemplateSyntaxError: Caught ImportError while rendering: No module
> named store.localsite
>
> My wsgi file is:
> user@localhost$ more django.wsgi
> import os
> import sys
> sys.path.append("/var/www/store/")
>
> os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'
>
> import django.core.handlers.wsgi
> application = django.core.handlers.wsgi.WSGIHandler()
>
> I can send more information.
>
> Thanks,
>
> Raúl
>
> --
> You received this message because you are subscribed to the Google Groups
> "Satchmo users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/satchmo-users?hl=en.
>
--
You received this message because you are subscribed to the Google Groups
"Satchmo users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/satchmo-users?hl=en.