Asked by duncanb7
at 2024-06-30 06:46:53
Point:500 Replies:10 POST_ID:828583USER_ID:11059
Topic:
PHP Scripting Language;Linux;Apache Web Server
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 ?
Thanks
Duncan
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 ?
Thanks
Duncan