V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
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 · 5235 views
    This topic created in 4846 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   ·   Solana   ·   1004 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 19:08 · PVG 03:08 · LAX 12:08 · JFK 15:08
    ♥ Do have faith in what you're doing.