内部服务器错误apache2 django部署
问题描述:
我想部署一个使用apache2和mod-wsgi-py3的django项目。但是我面对内部服务器错误500这里是虚拟主机:内部服务器错误apache2 django部署
<VirtualHost *:80>
ServerName web1.server.ch
ServerAdmin [email protected]
<Directory /home/admin/TrexmoWeb/TrexmoWeb>
<Files wsgi.py>
Require all granted
</Files>
</Directory>
WSGIDaemonProcess trexmo python-path=/home/admin/TrexmoWeb
WSGIProcessGroup trexmo
WSGIScriptAlias//home/admin/TrexmoWeb/TrexmoWeb/wsgi.py
</VirtualHost>
这里是我的/ etc/hosts文件
127.0.0.1 localhost
127.0.1.1 tres1
任何人都可以帮忙吗?
你有没有可用的日志? – dentemm