Saturday, January 21, 2012

Re: Can't make 404.html template to be used. Keep getting Apache 500 Internal Server Error instead.

> Check your apache logs.

Last line below says error is that there is no handler500. I thought
a missing web page for some URL was a 404 error so I'm not sure why
this error is popping up.

cs


[Sat Jan 21 13:24:44 2012] [error] [client 75.108.243.48] mod_wsgi
(pid=19346): Exception occurred processing WSGI script '/etc/apache2/
wsgi/phil4.com.wsgi'.
[Sat Jan 21 13:24:44 2012] [error] [client 75.108.243.48] Traceback
(most recent call last):
[Sat Jan 21 13:24:44 2012] [error] [client 75.108.243.48] File "/usr/
lib/pymodules/python2.6/django/core/handlers/wsgi.py", line 241, in
__call__
[Sat Jan 21 13:24:44 2012] [error] [client 75.108.243.48] response
= self.get_response(request)
[Sat Jan 21 13:24:44 2012] [error] [client 75.108.243.48] File "/usr/
lib/pymodules/python2.6/django/core/handlers/base.py", line 130, in
get_response
[Sat Jan 21 13:24:44 2012] [error] [client 75.108.243.48] return
self.handle_uncaught_exception(request, resolver, sys.exc_info())
[Sat Jan 21 13:24:44 2012] [error] [client 75.108.243.48] File "/usr/
lib/pymodules/python2.6/django/core/handlers/base.py", line 179, in
handle_uncaught_exception
[Sat Jan 21 13:24:44 2012] [error] [client 75.108.243.48]
callback, param_dict = resolver.resolve500()
[Sat Jan 21 13:24:44 2012] [error] [client 75.108.243.48] File "/usr/
lib/pymodules/python2.6/django/core/urlresolvers.py", line 263, in
resolve500
[Sat Jan 21 13:24:44 2012] [error] [client 75.108.243.48] return
self._resolve_special('500')
[Sat Jan 21 13:24:44 2012] [error] [client 75.108.243.48] File "/usr/
lib/pymodules/python2.6/django/core/urlresolvers.py", line 253, in
_resolve_special
[Sat Jan 21 13:24:44 2012] [error] [client 75.108.243.48] callback
= getattr(self.urlconf_module, 'handler%s' % view_type)
[Sat Jan 21 13:24:44 2012] [error] [client 75.108.243.48]
AttributeError: 'module' object has no attribute 'handler500'

--
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 django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment