1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

can apache or any stats software [ log ] show where our images loaded on the web?

Discussion in 'Apache' started by moath11, Jul 16, 2014.

  1. #1
    i'm sorry for my bad English,

    it's possible to show where my images loaded on the web
    SEMrush
    for example: i have image on my website: http:/ /mywebsite.com/image.gif

    and someone has added this picture into his website on: http:// foregin-website .com/page/index.html

    can the apache on my server show me that being loaded on http:// foregin-website .com/page/index.html

    ?
     
    Solved! View solution.
    moath11, Jul 16, 2014 IP
    SEMrush
  2. #2
    yes, it is possible.

    all you have to do, is to set-up your apache vhost to use combined logging (apache 2.2 and apache 2.4). once enabled, you could see the HTTP_REFERER in your vhost log file.

    for example, let's say I have an image named as image-03.jpg on server1 and I hotlink this image on another server2. when somebody access the image on server2, you should see something like this in the log file on server1:

    CLIENT_IP - - [16/Jul/2014:13:47:21 +0200] "GET /image-03.jpg HTTP/1.1" 304 - "http://server2/test.html" "USER_AGENT"
    Code (markup):
    this shows that the image is being used in http:// server2/test.html
     
    RoseHosting, Jul 16, 2014 IP
  3. moath11

    moath11 Peon

    Messages:
    24
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #3
    thank you , can you tell me please how to use combined logging
     
    moath11, Jul 16, 2014 IP