实验:禁止解析/aaa/目录下的test.php
#vim ../aaa/test.php
<?php
echo "hello world"
?>
\#编辑主配置文件,在底部添加
<Directory /usr/local/apache2/htdocs/aaa>
php_admin_flag engine off
<filesmatch "(.*)php">
Order deny,allow
Deny from all
</filesmatch>
</Directory>