Tornado Documentation
› http://www.v2ex.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 · 5664 views
    This topic created in 5052 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
    mkeith
    OP
    Jan 19, 2013
    1
    已解决 直接把robots.txt扔到static目录下就好了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2570 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 11:39 · PVG 19:39 · LAX 03:39 · JFK 06:39
    ♥ Do have faith in what you're doing.