Tornado Documentation
› https://v2ex.ih06.com/tornado/
Tornado on GitHub
› https://github.com/facebook/tornado/
Tornado Gists
› http://tornadogists.org/
mkeith
V2EX  ›  Tornado

Tornado 怎么设置robots.txt的url映射啊?

  •  
  •   mkeith · Jan 19, 2013 · 5547 views
    This topic created in 5005 days ago, the information mentioned may be changed or developed.
    (r"/robots.txt", index.RobotHandler),
    (r"/robots.tx", index.RobotHandler),
    (r"/robot.txt", index.RobotHandler)

    这几个url就是/robots.txt没法访问
    1 replies  •  1970-01-01 08:00:00 +08:00
    mkeith
        1
    mkeith  
    OP
       Jan 19, 2013
    已解决 直接把robots.txt扔到static目录下就好了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   765 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 20:48 · PVG 04:48 · LAX 13:48 · JFK 16:48
    ♥ Do have faith in what you're doing.