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