Ey, thanks!

My problem was I stored my django.wsgi file inside tha /var/www/store folder 
and not under /var/www directly.

I've changed, and modified my httpd.conf and now works fine.

Another issue, anyone of you uses the irc.freenode.net#satchmo. I was connected 
yesterday and there was no people. I've found this group by googling, but 
there's nothing in the satchmo page that makes reference (or i didn't found it, 
LoL). It will ne usefull for newbies as me to have that reference.

Thanks,

Raúl

----- Reply message -----
De: "Laszlo Antal" <[email protected]>
Fecha: vie., feb. 25, 2011 00:05
Asunto: Problem configuring default store with apache/mod_wsgi
Para: "[email protected]" <[email protected]>
CC: "Satchmo users" <[email protected]>


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.

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

Reply via email to