推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
pierre1994
V2EX  ›  Python

IIS7 部署 django 网站有啥好办法

  •  
  •   pierre1994 · Jun 8, 2016 · 4667 views
    This topic created in 3637 days ago, the information mentioned may be changed or developed.

    google 到的方案都是针对 IIS 6 的,求各位分享一下

    9 replies    2016-06-20 17:18:41 +08:00
    pierre1994
        1
    pierre1994  
    OP
       Jun 8, 2016
    使用 IIS 纯属不得已之举,外面的防火墙只开放 80 端口和远程桌面端口,同时 IIS 上面挂了好多其他网站。
    Tink
        3
    Tink  
    PRO
       Jun 8, 2016 via iPhone
    真的不如放到虚拟机里.....这样太折麽自己了
    pierre1994
        4
    pierre1994  
    OP
       Jun 8, 2016
    @Tink 是啊,找虐额
    pierre1994
        5
    pierre1994  
    OP
       Jun 8, 2016
    @upczww 感谢
    kaneg
        6
    kaneg  
       Jun 8, 2016
    可不可以 IIS 只做反向代理,后面 django 放在独立的服务器上
    ytmsdy
        7
    ytmsdy  
       Jun 8, 2016
    还好你是 IIS7 的,如果你是 IIS6 的那就无解了。
    用 IIS 的代理功能吧,把对应域名的数据转发到后台的某个端口。然后 django 运行的时候,使用这个端口就好了。
    这个和 apache 或者 nginx 没啥太大的区别。
    pierre1994
        8
    pierre1994  
    OP
       Jun 20, 2016
    @ytmsdy 可能是我配置不对,只能将所有请求转发到后台某个端口
    pierre1994
        9
    pierre1994  
    OP
       Jun 20, 2016
    @ytmsdy 今天有弄了一下成功了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2950 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 38ms · UTC 12:39 · PVG 20:39 · LAX 05:39 · JFK 08:39
    ♥ Do have faith in what you're doing.