0
apache2を使用してweb.pyアプリケーションをデプロイしましたが、設定は次のようになります。web.pyとphp-phpサービスが動作していないApache2
<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>
問題:
Iは、/ var/www/html/APIの内部でホストいくつかのPHPサービスを持っています。 mod_wsgiで設定する前に動作していたものですが、今私がリクエストすると404エラーとなります。
質問: PythonとPHPサービスの両方をどのように設定するのですか?追加