日期:2014-05-17 浏览次数:20944 次
<VirtualHost *:80> DirectoryIndex index.htm index.html index.php LogLevel debug HostNameLookups off ServerName www.xxxxx.com ServerAlias xxxxx.com DocumentRoot /var/www/html SetEnvIfNoCase Referer "^http://www.xxxxx.com" local_ref=1 SetEnvIfNoCase Referer "^http://sign51.cn" local_ref=1 SetEnvIfNoCase Referer ".*\.xxxxx\.com" local_ref=1 <FilesMatch "\.(gif|jpg|png|css|swf)"> Order Allow,Deny Allow from env=local_ref </FilesMatch> </VirtualHost>