I cant locate the file containing a log of all the IP addresses from where people have accessed my website. I'm running Redhat / CentOS linux system

link|improve this question

71% accept rate
feedback

3 Answers

try the command: last. It processes a binary log file at: /var/log/last.log.

link|improve this answer
Sorry - I wanted to get a list of IP addresses where users have accessed my website from... @n8whnp – matt74tm May 16 '11 at 11:26
feedback

accessed my website

It would have been helpful if you'd said that in the first place.

It would also be helpful if you'd mentioned what webserver you are using.

Assuming you are running a standard version of Apache without unusual log configs, then the information you need should be in the access_log files which should be in /var/log/httpd

link|improve this answer
feedback
up vote 0 down vote accepted

I dont understand what the fuss was all about. I was looking for this and I found it:

/var/log/httpd/access_log
link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.