• 请不要在回答技术问题时复制粘贴 AI 生成的内容
assad
V2EX  ›  程序员

为什么两个地址都能访问淘宝主页呢?

  •  
  •   assad · Apr 22, 2017 · 4729 views
    This topic created in 3488 days ago, the information mentioned may be changed or developed.
    index.php

    index.jsp

    都可以访问。

    这是怎么回事呢
    12 replies  •  2017-04-24 17:45:01 +08:00
    epkT6QJ3RSaz6AnJ
    epkT6QJ3RSaz6AnJ
    Apr 22, 2017
    1
    加了 tengine
    Returnear
    Returnear
    Apr 22, 2017
    2
    淘宝、天猫首页技术从 Node.js 换回 PHP 了么?
    https://www.zhihu.com/question/54777923
    有淘宝工程师解答
    smdx
    smdx
    Apr 22, 2017 via Android
    3
    apache ,地址虚拟很常见
    dongoo
    dongoo
    Apr 22, 2017 via Android
    4
    防止被知道所用的技术而被针对性的攻击
    CloudnuY
    CloudnuY
    Apr 22, 2017
    5
    为什么我用 jsp 打不开……
    justfun
    justfun
    Apr 23, 2017
    6
    想起来以前上学时候。
    用 java 开发的系统,学长非要把所有 jsp 页面映射成 asp 后缀,让别人误以为我们是用 c#开发

    提问者应该是新手,这种后缀和真实采用的技术完全无关,你可以映射成*.gcd 、*.haha 。
    justfun
    justfun
    Apr 23, 2017
    7
    @justfun 我从知乎 copy 过来的
    assad
    assad
    OP
    Apr 24, 2017
    9
    @justfun 呵呵,呵呵,呵呵
    那他为啥不映射 asp,aspx,do 呢
    为啥偏偏映射 php,jsp 呢
    fiht
    fiht
    Apr 24, 2017
    10
    @assad 呵个屁,对方想咋映射咋映射要什么理由。
    作为程序猿,看到.asp 和.aspx 的网站直接就不想访问了啊,这代表的是十年前的开发技术。
    看到.do 和 .action 就菊花一紧,这辣鸡网站不会有命令执行漏洞吧。
    看到 php 和 jsp 就不会有太过强烈的过敏反应。

    另: 我的情况和 @CloudnuY 同学一样,并不能打开 index.jsp
    jianzhiyao020
    jianzhiyao020
    Apr 24, 2017
    11
    伪静态或者重写都可以
    assad
    assad
    OP
    Apr 24, 2017
    12
    @fiht 所以,这个理由只有淘宝自己才知道,不知道的别瞎比比
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   899 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 43ms · UTC 21:03 · PVG 05:03 · LAX 13:03 · JFK 16:03
    ♥ Do have faith in what you're doing.