V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
simple2025
0D
V2EX  ›  问与答

有个问题关于 url 重写的

  •  
  •   simple2025 · Jan 13, 2018 · 1179 views
    This topic created in 3034 days ago, the information mentioned may be changed or developed.

    比如 tornado 监听端口是127.0.0.1:8000,
    然后因为现在域名都要备案对吧,所以我想把 /admin 这个路径下的所有请求都映射127.0.0.1:8000上面去,但是这个 tornado 的路由都是面向/而不是/admin开始的,有人知道这个东西该怎么搞吗,如果是 php 感觉很简单啊,我 phpmyadmin 就是这么搞的,但是 python 不知道怎么弄,

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   755 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 42ms · UTC 21:16 · PVG 05:16 · LAX 14:16 · JFK 17:16
    ♥ Do have faith in what you're doing.