【问题标题】:I try to change redirection 301我尝试更改重定向 301
【发布时间】:2016-03-23 00:10:28
【问题描述】:

在我客户的网站上,有这个虚拟主机:

<VirtualHost *:80>
  ServerName website.com
  ServerAlias *.website.com
  Redirect 301 / https://www.newwebsite.com/
</VirtualHost>

我想将重定向 301 更改为无重定向。

当我更新虚拟主机时。重新启动服务器后没有任何变化。

有人可以帮助我吗?

非常感谢。

【问题讨论】:

    标签: redirect http-status-code-301 vhosts


    【解决方案1】:

    创建一个空白网页。

    重定向到该页面:

    <VirtualHost *:80>
      ServerName website.com
      ServerAlias *.website.com
      Redirect 301 / https://website.com/blank.html
    </VirtualHost>
    

    【讨论】:

    • 对不起,我没找对地方。重定向是在 IAP 的管理上。非常感谢您的建议。
    猜你喜欢
    • 2015-04-26
    • 2019-04-29
    • 2014-12-12
    • 1970-01-01
    • 1970-01-01
    • 2013-06-29
    • 2016-07-01
    • 2018-03-06
    • 2017-07-16
    相关资源
    最近更新 更多