Are you trying to use mod_python 2.7.X on Apache 1.3 by chance?
From memory ap_auth_type attribute may only be in Apache 2.X and thus
you need to be using mod_python 3.X, preferably 3.3.1, on Apache 2.X.
Graham
On Feb 17, 8:47 am, msoulier <[EMAIL PROTECTED]> wrote:
> I'm trying to move an existing site to another server, and I'm getting
> this error when I access the new site.
>
> Mod_python error: "PythonHandler django.core.handlers.modpython"
>
> Traceback (most recent call last):
>
> File "/usr/local/python-2.5/lib/python2.5/site-packages/mod_python/
> apache.py", line 193, in Dispatch
> result = object(req)
>
> File "/home/pawsitiveapproach/python/lib/python2.5/site-packages/
> django/core/handlers/modpython.py", line 177, in handler
> return ModPythonHandler()(req)
>
> File "/home/pawsitiveapproach/python/lib/python2.5/site-packages/
> django/core/handlers/modpython.py", line 150, in __call__
> response = self.get_response(request)
>
> File "/home/pawsitiveapproach/python/lib/python2.5/site-packages/
> django/core/handlers/base.py", line 59, in get_response
> response = middleware_method(request)
>
> File "/home/pawsitiveapproach/python/lib/python2.5/site-packages/
> django/middleware/common.py", line 28, in process_request
> if request.META.has_key('HTTP_USER_AGENT'):
>
> File "/home/pawsitiveapproach/python/lib/python2.5/site-packages/
> django/core/handlers/modpython.py", line 92, in _get_meta
> 'AUTH_TYPE': self._req.ap_auth_type,
>
> File "/usr/local/python-2.5/lib/python2.5/site-packages/mod_python/
> apache.py", line 85, in __getattr__
> raise AttributeError, attr
>
> AttributeError: ap_auth_type
>
> I tried searching for it but I didn't turn up much. Any ideas?
>
> Thanks,
> Mike
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django 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/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---