On 12/12/2010 10:55pm, Mike Dewhirst wrote:
On 12/12/2010 12:35pm, jc wrote:
I ran the Django develplment server and everything runs fine. It's
only when I go back to the other web server that things start to break
on me.
In that case check out http://blip.tv/file/3840484 for Graham
Dumpleton's talk on precisely the problem you describe.
Er ... I meant to include this link too
http://blog.dscpl.com.au/search/label/mod_wsgi
Mike
hth
Mike
On Dec 11, 8:06 pm, Mike Dewhirst<mi...@dewhirst.com.au> wrote:
On 12/12/2010 10:56am, jc wrote:
I've tried to fix my config files and it gives me a 500 error, here is
what i see n the logs. I've been told by someone else that they think
it's still my mod_wsgi/Apache configuration and not the error that I'm
getting in the log about missing modules. Any suggestions? Here is the
server error log message and my newly configured files:
#################################################
# error.log
#################################################
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.
The loading middleware error seems straightforward. My guess is the
module containing the middleware cannot be found.
If you installed Satchmo correctly it will have added itself properly to
the Python path and that error wouldn't occur.
If you are learning and still need to develop your skills I would
recommend using the Django dev server to try it out.
hth
Mike
<snip>
--
You received this message because you are subscribed to the Google Groups "Django
users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.