Chinaunix首页 | 论坛 | 博客
  • 博客访问: 26267172
  • 博文数量: 2065
  • 博客积分: 10377
  • 博客等级: 上将
  • 技术积分: 21525
  • 用 户 组: 普通用户
  • 注册时间: 2008-11-04 17:50
文章分类

全部博文(2065)

文章存档

2012年(2)

2011年(19)

2010年(1160)

2009年(969)

2008年(153)

分类: 系统运维

2010-08-26 09:38:56


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
阅读(786) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~