|
这个index1.php文件是我刚上传的探针文件,就是打不开。。
Apologies, but the page you requested could not be found. Perhaps searching will help.
是不是301重定向的原因?
$HTTP["host"] =~ "^(www.mao.me)" {
url.redirect = ("^/(.*)$" => "5%8a%a0%e7%9b%b8%e5%ba%94%e8%a7%84%e5%88%99%ef%bc%8c%e6%8e%92%e9%99%a4%e9%9c%80%e8%a6%81%e7%9a%84%e6%96%87%e4%bb%b6%ef%bc%8c%e5%a6%82%e5%9c%a8%e6%a0%b9%e7%9b%ae%e5%bd%95%e4%b8%8b%e6%9c%89%e4%b8%aalogo文件,直接访问 网址/logo.png 的话会出现上面的提示,只要将上面伪静态规则改一下就可,如
url.rewrite = (
"^/(wp-.+).*/?" => "$0",
"^/(sitemap.xml)" => "$0",
"^/(xmlrpc.php)" => "$0",
"^/(logo.png)" => "$0",
"^/(.+)/?$" => "/index.php/$1"
)
即将logo.png文件排除在外,操作很简单。
我想问,如果是排除所有文件,"^/(logo.png)" => "$0",这个代码怎么改 |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?立即注册
×
|