【发布时间】:2010-09-22 12:56:01
【问题描述】:
基本上我即将开始在一个网站上工作,我想要一些我可以添加到我的 .htaccess 文件(或其他地方)中的东西,它可以像这个伪代码一样工作:(我的 ip 将代替127.0.0.1)
if (visitors_ip <> 127.0.0.1)
redirectmatch ^(.*)$ http://www.example.com/under-construction.html
希望这是有道理的......
【问题讨论】:
标签: .htaccess http-status-code-302