Weakdancer
V2EX  ›  问与答

请问网页中相对路径不能实现是怎么回事?

  •  
  •   Weakdancer · Dec 31, 2010 · 4854 views
    This topic created in 5612 days ago, the information mentioned may be changed or developed.
    http://lzgjinbi.appspot.com/about

    帮朋友做了个站,但是相对路径有问题。

    那个页面里的相对是:
    http://lzgjinbi.appspot.com/相对

    却不是:
    http://lzgjinbi.appspot.com/about/相对

    这是怎么回事?
    5 replies    1970-01-01 08:00:00 +08:00
    Weakdancer
        2
    Weakdancer  
    OP
       Dec 31, 2010
    。。。

    没有看懂。

    你说的是绝对路径吗?

    @aligo
    Weakdancer
        3
    Weakdancer  
    OP
       Dec 31, 2010
    可是我说的是我想实现相对路径,却没有实现。

    这是怎么回事?
    CoX
        4
    CoX  
       Dec 31, 2010
    @Weakdancer about 后面得有 / ,这样才能相对
    Weakdancer
        5
    Weakdancer  
    OP
       Dec 31, 2010
    原来这样啊

    @aligo 刚才没看懂
    @CoX

    谢谢二位
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   4430 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 57ms · UTC 05:29 · PVG 13:29 · LAX 22:29 · JFK 01:29
    ♥ Do have faith in what you're doing.