DocumentRoot /opt
ServerName h.766.com
DirectoryIndex index.shtml index.html index.htm index.php
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$ [NC]
RewriteCond %{HTTP_REFERER} !^http://(.*).766.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://(.*).766.com$ [NC]
RewriteRule .*\.(jpg|gif|png|bmp|tar|gz|rar|zip|exe)$ [R,NC]
#CustomLog "|/usr/local/sbin/cronolog /usr/local/httpdwork/logs/h.766.com_access_log.%Y%m%d" combined env=png-image
阅读(814) | 评论(0) | 转发(0) |