首页 > 其他 > 详细

httpd 不带反斜杠 出现 301重定向

时间:2014-06-10 13:26:39      阅读:450      评论:0      收藏:0      [点我收藏+]

你看到的这个文章来自于http://www.cnblogs.com/ayanmw

 

bubuko.com,布布扣
[root@VM_64_69_centos httpd]# curl http://localhost:9001/pay
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>301 Moved Permanently</title>
</head><body>
<h1>Moved Permanently</h1>
<p>The document has moved <a href="http://localhost:9001/pay/">here</a>.</p>
<hr>
<address>Apache/2.2.15 (CentOS) Server at localhost Port 9001</address>
</body></html>
[root@VM_64_69_centos httpd]# curl http://localhost:9001/pay/
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>403 Forbidden</title>
</head><body>
<h1>Forbidden</h1>
<p>You don‘t have permission to access /pay/
on this server.</p>
<hr>
<address>Apache/2.2.15 (CentOS) Server at localhost Port 9001</address>
</body></html>
[root@VM_64_69_centos httpd]#
bubuko.com,布布扣

 

尼玛,叫我情何以堪啊....

ps:[403没有权限是正常的,因为没有默认执行文件index.php等.]

 

转载请注明出处:http://www.cnblogs.com/ayanmw 我会很高兴的!

httpd 不带反斜杠 出现 301重定向,布布扣,bubuko.com

httpd 不带反斜杠 出现 301重定向

原文:http://www.cnblogs.com/ayanmw/p/3778265.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!