Alain: REFERER Redirect wegen Fotos schützen, aber 2 Domains erlauben?

Beitrag lesen

Hallo,
Ich hab da was bei apache gelesen

Blocked Inline-Images

Description:
          Assume we have under http://www.quux-corp.de/~quux/ some pages with inlined GIF graphics. These
          graphics are nice, so others directly incorporate them via hyperlinks to their pages. We don't like this practice
          because it adds useless traffic to our server.
     Solution:
          While we cannot 100% protect the images from inclusion, we can at least restrict the cases where the
          browser sends a HTTP Referer header.
           RewriteCond %{HTTP_REFERER} !^$
           RewriteCond %{HTTP_REFERER} !^http://www.quux-corp.de/~quux/.*$ [NC]
           RewriteRule .*.gif$        -                                    [F]

RewriteCond %{HTTP_REFERER}         !^$
           RewriteCond %{HTTP_REFERER}         !.*/foo-with-gif.html$
           RewriteRule ^inlined-in-foo.gif$   -                        [F]

weiss natürlich nicht genau ob es das ist was Du suchst.
Der link dazu findest du
http://httpd.apache.org/docs/misc/rewriteguide.html

gruss vom Alain