2017-04-11 6 views
-1

apache2 및 mod-wsgi-py3을 사용하여 장고 프로젝트를 배포하려고합니다.내부 서버 오류 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> 

127.0.0.1 localhost 
127.0.1.1 tres1 

누구가 도움이 될 수 있습니다 내/etc/hosts 파일이다 : 가상 호스트는 그러나 나는 여기에 내부 서버 오류 (500)에 직면입니까?

+0

사용할 수있는 로그가 있습니까? – dentemm

답변

0

같은 질문에 대한 답변을 찾았습니다. 이미 저에게 도움이 된 here도 있습니다.