由网友(没有阳光的向日葵)分享简介:我怎么能拒绝访问一个完整的文件夹和子文件夹,除了一个文件?该文件是:toon.php并驻留在同一文件夹解决方案 订购允许,拒绝< FilesMatch^香椿\的.php $>所有允许< / FilesMatch>这可能是最有效的,你可以得到。How can i deny access...![win7在删除文件时出现需要管理员权限的文件怎么删除](https://p.xsw88.cn/allimgs/daicuo/20230902/48.png)
我怎么能拒绝访问一个完整的文件夹和子文件夹,除了一个文件? 该文件是:toon.php并驻留在同一文件夹
解决方案 订购允许,拒绝
< FilesMatch^香椿的.php $>
所有允许
< / FilesMatch>
这可能是最有效的,你可以得到。
How can i deny access to a complete folder and sub-folders, with the exception of one file? That file is: toon.php and resides in the same folder.
解决方案![win7在删除文件时出现需要管理员权限的文件怎么删除](https://p.xsw88.cn/allimgs/daicuo/20230902/48.png)
Order Allow,Deny
<FilesMatch "^toon.php$">
Allow from all
</FilesMatch>
That is probably the most efficient that you can get.
相关推荐
最新文章