Application.log - IP address?

Discussion in 'Programming' started by amaze, Jun 2, 2009.

  1. #1
    Hi,

    Looking in the application.log it is showing a script hitting the site looking for a file, however it doesn't show the IP (so we can block it). Is there anyway of capturing this data?

    Thanks
     
    amaze, Jun 2, 2009 IP
  2. KrishManohar

    KrishManohar Well-Known Member

    Messages:
    247
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    108
    #2
    More details are needed to reach a solution. Please Post the log and what file its trying to capture.
     
    KrishManohar, Jun 18, 2009 IP
  3. xheartonfire43x

    xheartonfire43x Guest

    Messages:
    16
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I had this happen to me once. It ended up being yahoo search engine. What I did was put on the page that it was hitting a query into a database table that I made that captured CGI.remoteaddr. You could also probably use the cflog tag if you are in the same situation I was in. Look some stuff up about it on CF Livedocs.
     
    xheartonfire43x, Jun 22, 2009 IP