Debian mod_wsgi python3 不能与 debian python3 一起使用?
Debian's mod_wsgi python3 does not work with debian's python3?
我正在尝试使用 apache mod_wsgi (django official docs) 在 Debian 上部署 Django-python3 应用程序。我将 virtualenv 与 python3 一起使用,这是我在 /var/log/apache2/error.log 文件中得到的内容:
mod_wsgi: Compiled for Python/3.4.2rc1+.
mod_wsgi: Runtime using Python/3.4.2.
Apache/2.4.10 (Debian) OpenSSL/1.0.1k mod_wsgi/4.3.0 Python/3.4.2 configured -- resuming normal operations
在我看来,Debian 存储库中的 mod_wsgi 和 python 不能一起工作。我错过了什么吗?
非常感谢。
我的安装在 manage.py 的开发环境下运行,而不是在生产环境中运行,所以我认为这是 Apache 的错误。原来我没有授予 Apache 读取该文件夹的权限。
我正在尝试使用 apache mod_wsgi (django official docs) 在 Debian 上部署 Django-python3 应用程序。我将 virtualenv 与 python3 一起使用,这是我在 /var/log/apache2/error.log 文件中得到的内容:
mod_wsgi: Compiled for Python/3.4.2rc1+.
mod_wsgi: Runtime using Python/3.4.2.
Apache/2.4.10 (Debian) OpenSSL/1.0.1k mod_wsgi/4.3.0 Python/3.4.2 configured -- resuming normal operations
在我看来,Debian 存储库中的 mod_wsgi 和 python 不能一起工作。我错过了什么吗?
非常感谢。
我的安装在 manage.py 的开发环境下运行,而不是在生产环境中运行,所以我认为这是 Apache 的错误。原来我没有授予 Apache 读取该文件夹的权限。