Redhat 7 httpd 显示wsgi页面
# yum install httpd
# yum install mod_wsgi
# vi /etc/httpd/conf.d/wsgi.conf
<VirtualHost *:80>
DocumentRoot /var/www/wsgi
WSGIScriptAlias / /var/www/wsgi/webapp.wsgi
</VirtualHost>
:wq
# systemctl restart httpd
本文共 281 字,大约阅读时间需要 1 分钟。
Redhat 7 httpd 显示wsgi页面
# yum install httpd
# yum install mod_wsgi
# vi /etc/httpd/conf.d/wsgi.conf
<VirtualHost *:80>
DocumentRoot /var/www/wsgi
WSGIScriptAlias / /var/www/wsgi/webapp.wsgi
</VirtualHost>
:wq
# systemctl restart httpd
转载于:https://blog.51cto.com/yangzhiming/1729740