apache - distinguish hotlinking and direct links of images -


Is there a way to separate direct image from hot-linked images?

What I'm trying to accomplish is:

If the user goes directly to "page.com/image17.gif" then visit "page.com/page17. Html "should be redirected to

If any image embeds on any other page, it should look" notHotlink.jpg "

My website and search engine should be unaffected So their index still works for image searches

revertin These online Rivritkand% {HTTP_REFERER}! ^ $ Rewrite% {HTTP_REFERER}! ^ Http: // (www \.)? Mydomain.com /.* $ [nc] rewritable (GIF | JPG) $ http://www.mydomain.com/angryman.gif [R, L]

Comments