设置.htaccess 禁止访问网站根下面的某个php文件,怎么设置呢
------解决方案--------------------
用URL跳转实现
------解决方案--------------------
- PHP code
250 # The following lines prevent .htaccess and .htpasswd files from being 251 # viewed by Web clients. 252 #253 <Files ".ht*">254 Require all denied255 </Files>