How do I implement a mod_python style authenhandler/authzhandler using mod_wsgi?

0

Issue

I have a simple mod_python script that provides authentication and authorization for a large static website. We’re migrating from CentOS 4 to Scientific Linux 6 and I discover that mod_python isn’t bundled anymore so I need to convert to mod_wsgi. All the examples for mod_wsgi I’ve found assume either Basic or Digest authentication which isn’t the case for me.

Based on this, it appears I can’t readily convert over.

Any pointers? I’m willing to entertain alternative solutions (well, with the possible exception to using mod_perl =P ).

Solution

Suggested at:

http://groups.google.com/group/modwsgi/browse_thread/thread/1edd0398206c89a9

to use mod_auth_tkt instead.

http://www.openfusion.com.au/labs/mod_auth_tkt/

Answered By – Graham Dumpleton

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave A Reply

Your email address will not be published.

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More