Apache2 web.py 和 php - php 服务不工作

Apache2 with web.py and php - php services not working

我已经使用 apache2 部署了我的 web.py 应用程序,配置如下所示。

<VirtualHost _default_ *:80>
ServerAdmin admin@project.com
DocumentRoot /var/www/html
ErrorLog /var/www/Engine/log/error.log
CustomLog /var/www/Engine/log/access.log combined

WSGIScriptAlias / /var/www/Engine/Engine.py
Alias /static /var/www/html
AddType text/html .py
WSGIDaemonProcess www-data threads=15
WSGIProcessGroup www-data

WSGIApplicationGroup %{GLOBAL}

</VirtualHost>

<Directory /var/www/html>
    allow from all
</Directory>

问题:

我在 /var/www/html/apis 中托管了一些 php 服务。那些在使用 mod_wsgi 配置之前可以正常工作,但是当我现在请求时,它显示 404 错误。

问题: 如何配置 Python 和 php 服务协同工作?

尝试添加:

Alias /apis/ /var/www/html/apis/

另见: