【问题标题】:Is there a mod_python for Apache HTTP Server 2.2 and Python 2.6 or 3.0?Apache HTTP Server 2.2 和 Python 2.6 或 3.0 是否有 mod_python?
【发布时间】:2009-05-11 01:12:37
【问题描述】:

我浏览了mod_python website,只找到了适用于 Python 2.5 和更早版本的 Apache HTTP Server 2.2 的文件。我用谷歌搜索了一下,没有很大的运气。有什么建议吗?

【问题讨论】:

    标签: python apache2 mod-python


    【解决方案1】:

    使用 mod_wsgi。

    mod_python 已经停滞了一段时间了。 python web 应用程序的大部分工作都在 mod_wsgi 上。

    【讨论】:

    • 谢谢。明天我会更详细地研究它,但它似乎可能是我正在寻找的东西。
    • +1:在大约 8 个月内似乎没有对 mod_python 项目进行源代码签入(除非我正在查看错误的存储库),这早于官方Python 2.6.0 发布。
    • +1 并且,为了补充 Jarret 的评论,在过去 14-15 个月内对 mod_python 的唯一提交几乎都是错误修复,并且由 mod_wsgi 的作者 Graham Dumpleton 完成。
    • +1 而且,我可能会补充一点,在运行 python Web 应用程序时,mod_python 很糟糕。它更适合编写 apache 扩展模块。 mod_wsgi 是 PEP 标准化的方式。
    猜你喜欢
    • 1970-01-01
    • 2021-10-08
    • 1970-01-01
    • 2011-02-08
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-01-22
    相关资源
    最近更新 更多