.htaccess限制某些目录执行解决办法
内容摘要
这篇文章主要为大家详细介绍了.htaccess限制某些目录执行简单示例,具有一定的参考价值,可以用来参考一下。
对php.htaccess限制某些目录执行简单示例对此感兴趣的朋友,看看idc
对php.htaccess限制某些目录执行简单示例对此感兴趣的朋友,看看idc
文章正文
这篇文章主要为大家详细介绍了.htaccess限制某些目录执行简单示例,具有一定的参考价值,可以用来参考一下。
对php.htaccess限制某些目录执行简单示例对此感兴趣的朋友,看看idc笔记做的技术笔记!
/**
*
* @param
* @arrange (www.idcnote.com)
**/
RewriteEngine on RewriteCond % !^$
RewriteRule uploads/(.*).(php)$ – [F]
RewriteRule data/(.*).(php)$ – [F]
RewriteRule templets/(.*).(php)$ – [F]
RewriteRule a/(.*).(php)$ – [F]
RewriteRule anli/(.*).(php)$ – [F]
RewriteRule cccccccccccc/(.*).(php)$ – [F]
RewriteRule css/(.*).(php)$ – [F]
RewriteRule dede/(.*).(php)$ – [F]
RewriteRule hangye/(.*).(php)$ – [F]
RewriteRule images/(.*).(php)$ – [F]
RewriteRule img/(.*).(php)$ – [F]
RewriteRule install-/(.*).(php)$ – [F]
RewriteRule jinp/(.*).(php)$ – [F]
RewriteRule js/(.*).(php)$ – [F]
RewriteRule member/(.*).(php)$ – [F]
RewriteRule dede/(.*).(php)$ – [F]
RewriteRule seo/(.*).(php)$ – [F]
RewriteRule special/(.*).(php)$ – [F]
RewriteRule w/(.*).(php)$ – [F]
RewriteRule web/(.*).(php)$ – [F]
注:关于.htaccess限制某些目录执行简单示例的内容就先介绍到这里,更多相关文章的可以留意
代码注释