apach禁止解析php
禁止/data/www/data目录下的php文件解析
<Directory /data/www/data> php_admin_flag engine off </Directory>
不解析php文件,但仍然会下载
禁止下载
<Directory /data/www/data> php_admin_flag engine off <FilesMatch "(.*)php"> Order Deny,allow Deny from all Allow from 127.0.0.1 </FilesMatch> </Directory>
不能访问不能下载
本地能访问不能解析,但能下载
谢谢