簡體   English   中英

在RHEL中使用Apache和mod_wsgi部署python-django應用程序時出錯

[英]Error in deploying python-django app with Apache and mod_wsgi in RHEL

我無法在RHEL中使用Apache和mod_wsgi部署Django-Python應用程序。

下面是我的配置:

Alias /static /home/appuser/xxxweb/yyydep/app/static
<Directory /home/appuser/xxxweb/yyydep/app>
    Require all granted
</Directory>

<Directory /home/appuser/xxxweb/yyydep/app/management>
    <Files wsgi.py>
        Require all granted
    </Files>
</Directory>

WSGIDaemonProcess management python-path=/home/appuser/xxxweb/yyydep python-home=/home/appuser/xxxweb/yyydep/disneyenv
WSGIProcessGroup management
WSGIScriptAlias / /home/appuser/xxxweb/yyydep/app/management/wsgi.py

重新啟動以下apache服務器后,已記錄該錯誤。

安全更新檢查失敗:無法連接到https://securitycheck.phusionpassenger.com:443/v1/check.json的服務器(如果此錯誤仍然存​​在,請檢查您的連接安全性或嘗試升級乘客)(24小時進行下一步檢查) ImportError:沒有名為站點的模塊

他們中的任何一個可以幫助我解決這個問題嗎?

謝謝

首先在shell中嘗試以下命令,看看會發生什么:

firewall-cmd --permanent --zone=public --add-service=http
firewall-cmd --permanent --zone=public --add-service=https
firewall-cmd --reload

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM