<Directory "D:/java/xx/picphoto/">
Options SymLinksIfOwnerMatch
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http://localhost.*$ [NC]
RewriteRule .*\.(gif|jpg|jpeg|JPG)$ http://www.xx.cn/images/xx.gif [R,NC]
</Directory>
Options SymLinksIfOwnerMatch
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http://localhost.*$ [NC]
RewriteRule .*\.(gif|jpg|jpeg|JPG)$ http://www.xx.cn/images/xx.gif [R,NC]
</Directory>