how to check which file is being visited by remote site
Posted on 2013-06-30
Just want to know how web counter or awstats program ability to check all
visiting site information.
From netstat -nputw command on Linux I know , we can check who is visting to my website.
The result of the command will show you foreign or Local address and Protocol something
like that, but why it won't show which file is being visited by the visitors ?
for example for my wish, at least show me the visitor is visiting www.mysite.com/data/php/math.html file
From the local address is just IP address of my site and Port 80 only, no information about which or what html or php file is being visited, Why ?
Please advise, any Linux command can check that for me , what is exact path and the file that visitor is or was visiting ?
And I check at /var/log/httpd/access_log , there is nothing inside of the file,Why ?
I believe my linux system will record that information for user, but where if any ?