Results 1 to 7 of 7
  1. #1
    Join Date
    Jan 2002
    Location
    Toronto, Canada
    Posts
    11,059

    How do you trace back to a link to your site from just an IP address?

    If someone is linking to a page on your site and the only thing you have is the visitor's Host IP address, is there a way to trace back to the link they have on their site?

    Any wisdom would be appreciated...

    Vito
    DemoDemo.com - Flash tutorials since 2002
    DemoWolf.com - 5,300+ Flash tutorials for hosting companies, incl. Voice tutorials

  2. #2
    Join Date
    Sep 2002
    Location
    perl -le '$_=`man perlfaq1`;print/"(j.*)"/'
    Posts
    280
    With just their IP address? No. You're looking for HTTP referrals; check logs.
    Richard Ward
    1 NET LANE, LLC.
    http://www.1NL.net
    The low cost data center.

  3. #3
    Join Date
    Jan 2002
    Location
    Toronto, Canada
    Posts
    11,059
    Thanks, Richard.

    When looking at the raw access logs, I see the IP address, the page visited, and this:

    HTTP/1.1" 200 870 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)"

    Would that be enough info?

    Vito
    DemoDemo.com - Flash tutorials since 2002
    DemoWolf.com - 5,300+ Flash tutorials for hosting companies, incl. Voice tutorials

  4. #4
    Join Date
    Sep 2002
    Location
    perl -le '$_=`man perlfaq1`;print/"(j.*)"/'
    Posts
    280
    202.9.150.90 - - [23/Sep/2002:13:49:47 -0400] "GET /stuff.shtml HTTP/1.1" 200 2090 "http://vivisimo.com/vivisimo/Snippets.html" "Mozilla/4.0 (compatible; MSIE 5.5; Windows 98; Win 9x 4.90)"

    202.9.150.90 accessed site.com/stuff.shtml from http://vivisimo.com/vivisimo/Snippets.html. That's an HTTP referral for outside linking via Apache's access log on the respective site. It'll look something like that if the user came from another site and landed on yours. If you hit up freshmeat.net, you can find a bunch of neat link counters, too. Eg: you.com/stuff.shtml becomes you.com/link.php?321, so you can keep better track of who's linking to you. Of course, if you don't want outside links, you can toss in a RewriteCond %{HTTP_REFERER} under htaccess and limit access to your site via your site only. There's a bunch of things you can do. Hope this helps.
    Richard Ward
    1 NET LANE, LLC.
    http://www.1NL.net
    The low cost data center.

  5. #5
    Join Date
    Jan 2002
    Location
    Toronto, Canada
    Posts
    11,059
    Cool. Thanks, Richard. Just once more to clarify...

    That fact that, in my logs, in the HTTP it didn't show a URL, does it mean it wasn't an actual "link" per se that brought the visitor to my site? If there is no URL, does it mean they just entered my address directly in their browser address bar (or perhaps had it bookmarked)?

    I appreciate you taking the time to explain this...

    Vito
    DemoDemo.com - Flash tutorials since 2002
    DemoWolf.com - 5,300+ Flash tutorials for hosting companies, incl. Voice tutorials

  6. #6
    Join Date
    Sep 2002
    Location
    perl -le '$_=`man perlfaq1`;print/"(j.*)"/'
    Posts
    280
    Most likely. Especially if the link in question is buried within other pages not directly accessible by the / of the domain.
    Richard Ward
    1 NET LANE, LLC.
    http://www.1NL.net
    The low cost data center.

  7. #7
    Join Date
    Jan 2002
    Location
    Toronto, Canada
    Posts
    11,059
    Thanks very much for the explanation.

    Vito
    DemoDemo.com - Flash tutorials since 2002
    DemoWolf.com - 5,300+ Flash tutorials for hosting companies, incl. Voice tutorials

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •