PHP:如何隐藏在.htaccess我的应用程序文件夹 [英] PHP: How to hide my application folders in .htaccess
本文介绍了PHP:如何隐藏在.htaccess我的应用程序文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何隐藏我的应用程序文件夹及其内容在.htaccess文件第三方的观众?
how to hide my application folders and its contents to third party viewers in .htaccess file ?
推荐答案
请尝试使用此,我想这会工作。
try using this, I guess it will work.
RedirectMatch 403 ^。* /子文件夹名称/ *
这将停止所有子文件夹和文件递归的直接访问。
This will stop the direct access of all the sub-folders and files recursively.
这篇关于PHP:如何隐藏在.htaccess我的应用程序文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文