httpd.conf 禁止运行PHP和html页面
<VirtualHost *:80>
ServerName www.test.com
DocumentRoot /var/www/www.test.com
ErrorDocument 404 /404.html
<Directory /var/www/www.test.com>
<Files ~ ".(php|html|htm)$">
Order allow,deny
Deny from all
</Files>
</Directory>
</VirtualHost>