RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http://localhost:8888      [NC]
RewriteCond %{HTTP_REFERER} !^http://example\.com/?.*$   [NC]
RewriteCond %{HTTP_REFERER} !^http://bogojoker\.com/?.*$ [NC]
RewriteRule \.(gif|jpe?g|png|bmp)$ http://bogojoker.com/pub/question_marks.png [R,NC]
