#图片静态类型日志不记录SetEnv IMAG 1 #禁止一些文件访问执行 Order allow,deny Deny from all #禁止图片等非脚本目录内的脚本文件访问 Deny from all DocumentRoot /alidata/www/htdocs ServerName www.host.comServerAlias host.com Options FollowSymLinks IncludesNOEXEC -Indexes DirectoryIndex index.html index.php AllowOverride all Order Deny,Allow Allow from all CustomLog "logs/host_com.log" combined env=!IMAG