holinhot
V2EX  ›  问与答

nginx 404 403 配置问题

  •  
  •   holinhot · Dec 24, 2015 · 2071 views
    This topic created in 3886 days ago, the information mentioned may be changed or developed.

    http://www.a.com 我已经设置了 403 和 404 转到 http://xwww.b.com
    经过测试访问不存在的页面或目录会 302 到 http://www.b.com

    但是当访问 http://www.q.com/?test 会 302 到 http://www.b.com?test 而不是 http://www.b.com

    不什么办法让 http://www.q.com/?test 也转到 http://www.b.com

    holinhot
        1
    holinhot  
    OP
       Dec 24, 2015
    当我访问 http://www.a.com /hsdifh?/时 会 302 到 http://www.b.com/?/
    ryd994
        2
    ryd994  
       Dec 24, 2015 via Android
    不贴配置你叫我们仙人指路么?
    Andy1999
        3
    Andy1999  
       Dec 24, 2015 via iPhone
    $1 去掉
    Slienc7
        4
    Slienc7  
       Dec 24, 2015
    贴配置;
    前后有点矛盾(至少表面看来);
    xwww 是指 www ?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2790 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 13:13 · PVG 21:13 · LAX 06:13 · JFK 09:13
    ♥ Do have faith in what you're doing.