#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2000
    Posts
    1
    Rep Power
    0
    Hi we are trying to come with a rule or action that will do an action or rule if an image is called by itself in the browser window. We have tried everything! Is there a way to distinguish whether or not the image is in an html document, or being called directly in the url bar?

    We want to parse code on a page with an image, any time an image is called and it is not in an html page. Thanks! PLEASE email
    me if you have a reply! ceo@netcolony.com
  2. #2
  3. No Profile Picture
    freebsd
    Guest
    Devshed Newbie (0 - 499 posts)
    >>Is there a way to distinguish whether or not the image is
    >>in an html document, or being called directly in the url bar?

    Start here -> http://www.apache.org/docs/misc/rewriteguide.html
    Check here -> "Blocked Inline-Images"

    #############################################
    RewriteEngine on
    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^http://www.quux-corp.de/~quux/.*$ [NC]
    RewriteRule .*.gif$ - [F]

    [This message has been edited by freebsd (edited August 21, 2000).]

IMN logo majestic logo threadwatch logo seochat tools logo