嗨,我正在尝试使用WSGI模块通过Apache安装程序运行python应用程序。我正在尝试解决“ error.log”文件中的错误。
我也放了我的apache conf文件的样本
<VirtualHost *:80>
ServerName http://dcc3ec2-152-105-91-37.us-east-2.compute.amazonaws.com
ServerAdmin 1234@gmail.com
WSGIScriptAlias / /var/www/Project_TickerScan/Tscan_ec2_production/Tscan_ec2_production/DTguru_03192018/wsgi.py
WSGIDaemonProcess DTguru_03192018 python-path=/var/www/html/Project_TickerScan/Tscan_ec2_production/Tscan_ec2_production python-home=/var/www/Project_TickerScan/Tscan_ec2_production/Tscan_ec2_production/tscan_ec2_venv/
WSGIProcessGroup DTguru_03192018
<Directory /var/www/keras-complete-rest-api/>
Order allow,deny
Allow from all
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/access.log combined