hello,
how do i force cpanel/whm to log all requests of http? I tried accessing one of my virtual hosts domains and cannot see my own logs (ip, file requested etc).
tail -f /usr/local/apache/logs/access_log
example of output of the logs
127.0.0.1 - - [19/Nov/2016:08:26:25 -0500] "GET / HTTP/1.0" 200 111
127.0.0.1 - - [19/Nov/2016:08:26:25 -0500] "GET / HTTP/1.0" 200 111
163.172.64.225 - - [19/Nov/2016:08:27:02 -0500] "GET /products/query/gold%20bracelets/ HTTP/1.1" 404 10115
163.172.64.225 - - [19/Nov/2016:08:27:02 -0500] "GET /products/query/gold%20bracelets/ HTTP/1.1" 404 10115
163.172.65.64 - - [19/Nov/2016:08:27:29 -0500] "GET /cat/health-and-beauty/page/21/?order=asc&orderby=hits&orderby=expires&order=desc HTTP/1.1" 404 10235
163.172.65.64 - - [19/Nov/2016:08:27:29 -0500] "GET /cat/health-and-beauty/page/21/?order=asc&orderby=hits&orderby=expires&order=desc HTTP/1.1" 404 10235
I would like also to include the virtual host user in the logs. How do i implement this? I am using DSO as my php handler.
Any help is highly appreciated.
fgwapo
how do i force cpanel/whm to log all requests of http? I tried accessing one of my virtual hosts domains and cannot see my own logs (ip, file requested etc).
tail -f /usr/local/apache/logs/access_log
example of output of the logs
127.0.0.1 - - [19/Nov/2016:08:26:25 -0500] "GET / HTTP/1.0" 200 111
127.0.0.1 - - [19/Nov/2016:08:26:25 -0500] "GET / HTTP/1.0" 200 111
163.172.64.225 - - [19/Nov/2016:08:27:02 -0500] "GET /products/query/gold%20bracelets/ HTTP/1.1" 404 10115
163.172.64.225 - - [19/Nov/2016:08:27:02 -0500] "GET /products/query/gold%20bracelets/ HTTP/1.1" 404 10115
163.172.65.64 - - [19/Nov/2016:08:27:29 -0500] "GET /cat/health-and-beauty/page/21/?order=asc&orderby=hits&orderby=expires&order=desc HTTP/1.1" 404 10235
163.172.65.64 - - [19/Nov/2016:08:27:29 -0500] "GET /cat/health-and-beauty/page/21/?order=asc&orderby=hits&orderby=expires&order=desc HTTP/1.1" 404 10235
I would like also to include the virtual host user in the logs. How do i implement this? I am using DSO as my php handler.
Any help is highly appreciated.
fgwapo