Skip to main content

using .htaccess to log visitors refereer & ip

Comments

6 comments

  • vanessa
    You can't do this with .htaccess. All hits to a site would already be logged in the Apache access log, and if you have log archiving enabled you'd already have what you need.
    0
  • Moka
    Thanks for replay, can i configure Apache to create an custom log file that logs only extra.jpg logs ?
    0
  • vanessa
    [quote="Moka, post: 1690681">Thanks for replay, can i configure Apache to create an custom log file that logs only extra.jpg logs ?
    Not really. However, again, with this data already being in your access logs, why can't you simply create a script to parse out lines containing 'extra,jpg'?
    0
  • Moka
    Re: using .htaccess to log visitors refereer & ip i like geek girls like you :v [COLOR="silver">- - - Updated - - - what if i have a big log files ?
    0
  • vanessa
    Re: using .htaccess to log visitors refereer & ip [QUOTE] what if i have a big log files ?
    Don't worry, it's probably not as big as you think it is.
    0
  • cPanelMichael
    Hello :) You may also want to consult with your web hosting provider to see if they can provide you with the output that you seek. Thank you.
    0

Please sign in to leave a comment.