###防止盗链######
httpd.conf配置文件加上
SetEnvIfNoCase Referer "www.it.net.cn|it.net.cn|www.itnetcn.com|itnetcn.com" local_ref=1 <FilesMatch ".(gif|jpg|png)"> Order Allow,Deny Allow from env=local_ref </FilesMatch>