.htaccess问题
Order allow,deny
Deny from all
这个是可以禁止php等文件执行
如何把它改成只能执行jpg,gif,png呢?
如何设置只能访问某个目录的文件?
------解决方案--------------------
Order allow,deny
Deny from all
只能访问某个目录的文件 是什么意思?
apache 只能打开某个目录?
------解决方案--------------------
楼上正解
------解决方案--------------------
Order allow,deny
Deny from all
Order allow,deny
allow from all
这样写两个就可以了。
如果解决了,帮忙点一下这个网站的广告:http://blog.72-web.com
谢谢
------解决方案--------------------
<filesmatch> Header set Cache-Control “max-age=2592000″ </filesmatch><br><font color="#e78608">------解决方案--------------------</font><br>去掉"^" <div class="clear"></div>
每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号