window server apache+django项目线上ip和域名配置
打开apache里的httpd.conf文件,修改配置Listen 80#线上ip地址ServerName *.*.*.*:80<VirtualHost *:80> ServerName youerweb.com # 域名配置 ServerAlias localhost # 指定项目的wsgi.py配置文件路径 WSGIScriptAlias / "C:/server/myproject/myproject/wsgi.py"
原创
2021-09-18 14:46:32 ·
233 阅读 ·
0 评论