0
我已經部署我的web.py應用程序使用apache2和配置如下所示。Apache2與web.py和PHP - PHP服務不工作
<VirtualHost _default_ *:80>
ServerAdmin [email protected]
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>
問題:
我主持裏面的一些PHP服務的/ var/www/html等/的API。那些在使用mod_wsgi配置之前曾經工作過,但當我現在請求時,它說404錯誤。
問題: 如何配置Python和php服務一起工作?