Quantcast
Channel: ChinaUnix.net - 服务器应用
Viewing all articles
Browse latest Browse all 2948

.htaccess中禁止wp-login.php访问,xampp本地测试403,服务器测试302

$
0
0
作者: 844097977 发表于: 2013-04-23 09:46:44 (GMT 8) 简介:我在.htaccess中加入如下代码:来禁止访问wp-login.php文件,[code] order allow,deny deny from all [/code]在xampp中测试成功,当访问这个文件时服务器会跳出403错误,但是放在centos服务器里,访问这个文件,服务器是跳出302,浏览器提示“此网页包含重定向循环” .h

Viewing all articles
Browse latest Browse all 2948

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>