I think you need to figure out if the problem lies within your django/satchmo installation or within your apache configuration. If I were you, probably the first thing I would do is put apache aside for the moment and start up the django dev server (python manage.py runserver). Does the server start up and run successfully? Can you browse the site? If so then you know that your problem is probably in the django/apache integration (i.e. django.wsgi / httpd.conf).
--Stuart On Sat, Dec 11, 2010 at 5:51 PM, jc <[email protected]> wrote: > here is the entire traceback here: > > mod_wsgi (pid=20698): Exception occurred processing WSGI script '/srv/ > www/duckling.org/store/wsgi-scripts/django.wsgi'. > Traceback (most recent call last): > File "/usr/local/lib/python2.6/dist-packages/django/core/handlers/ > wsgi.py", line 230, in __call__ > self.load_middleware() > File "/usr/local/lib/python2.6/dist-packages/django/core/handlers/ > base.py", line 42, in load_middleware > raise exceptions.ImproperlyConfigured('Error importing middleware %s: > "%s"' % (mw_module, e)) > ImproperlyConfigured: Error importing middleware > satchmo_store.shop.SSLMiddleware: "No module named > satchmo_store.shop.SSLMiddleware > > I'm at a loss here as to how I find out if the problem lies with > mod_wsgi or apache configs or django or satchmo. So, I'm posting here > just in case someone might be able to help me out. Without some help > this project is as good as doomed as I don't have a lot of skills and > I'm learning along the way. > > Here are my config files. I've went though many different versions, > this is my latest: > #################################### > # apache vhost file called duckling.org > #################################### > > <VirtualHost 1.2.3.4:80> > ServerAdmin [email protected] > ServerName duckling.org > ServerAlias www.duckling.org > > DocumentRoot /srv/www/duckling.org/store/ > > <Directory /srv/www/duckling.org/store/> > Order Allow,Deny > Allow from all > </Directory> > > > Alias /static /srv/www/duckling.org/store/static/ > > <Directory /srv/www/duckling.org/store/static/> > AllowOverride None > Order deny,allow > Allow from all > </Directory> > > WSGIScriptAlias / /srv/www/duckling.org/store/wsgi-scripts/ > django.wsgi > <Directory /srv/www/duckling.org/store/wsgi-scripts/> > Order deny,allow > Allow from all > </Directory> > </VirtualHost> > > ######################### > # django.wsgi file > ######################### > > import os > import sys > > sys.path.append('/srv/www/duckling.org/store') > os.environ['DJANGO_SETTINGS_MODULE'] = 'settings' > > import django.core.handlers.wsgi > > application = django.core.handlers.wsgi.WSGIHandler() > > # With this current configuration I get a error in my server logs for: > ImproperlyConfigured: Error importing middleware > satchmo_store.shop.SSLMiddleware: "No module named > satchmo_store.shop.SSLMiddleware" > > Can anyone give me some clues as what I can do next? And if all else > fails, what are my alternatives as far as deploying this Satchmo app? > > thanks again for the help, > j. > > -- > 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.
