如何使用 mod_wsgi 实现 mod_python 风格的 authenhandler/authzhandler?
我有一个简单的 mod_python
脚本,它为大型静态网站提供身份验证和授权。我们正在从 CentOS 4 迁移到 Scientific Linux 6,我发现 mod_python
不再捆绑,因此我需要转换为 mod_wsgi
。我发现 mod_wsgi 的所有示例都假设基本或摘要身份验证,但我的情况并非如此。
基于这个,看来我无法轻易转换。
有什么指点吗?我愿意接受替代解决方案(嗯,使用 mod_perl
=P 可能是例外)。
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 ).
建议访问:
http://groups.google.com/group/modwsgi/browse_thread/ thread/1edd0398206c89a9
使用 mod_auth_tkt 代替。
http://www.openfusion.com.au/labs/mod_auth_tkt/
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/