Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

share|improve this question
    
try the command: last. It processes a binary log file at: /var/log/last.log. –  n8whnp May 16 '11 at 10:05
    
Sorry - I wanted to get a list of IP addresses where users have accessed my website from... @n8whnp –  siliconpi May 16 '11 at 11:26

2 Answers 2

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

share|improve this answer
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
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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