Apache/2.4.29 (Ubuntu) OpenSSL/1.1.0g configured I have setup a simple custom log file, but it skips logging requests to the homepage. I tried log type common, combined, custom, the issue persists. Here are some entries from the access.log that are omitted from the custom log: 190.98.219.18 - - [14/Sep/2018:23:05:31 -0500] "GET / HTTP/1.1" 403 160 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/601.7.7 (KHTML, like Gecko) Version/9.1.2 Safari/601.7.7" 121.134.174.236 - - [14/Sep/2018:23:10:18 -0500] "GET / HTTP/1.1" 403 160 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36" Nevermind the 403 forbidden status, that covers the whole site at the moment.
PS - I do not have this issue on my Ubuntu 16.04 system last I checked. The bug is on my 18.04 system. Apache/2.4.29 (Ubuntu) OpenSSL/1.1.0g configured
What's the vhost config? Tested w/ a command-line client?
Well this is unconfirmed... and a little embarrassing. The server 16.04 server I borrowed from has an exclusion that I suspect is the issue. If I recall correctly this exclusion was to clean up some ownCloud local traffic from the logs. The behavior must be different between the server? SetEnvIf Request_URI "/$" bor CustomLog ${APACHE_LOG_DIR}/public.log common env=!bor crap.
I have confirmed that was the issue. In my defense I re-purposed the "bor" env to clean up the logs on this server, but didn't notice that "/$" statement buried in the other statements. Status: Resolved/Invalid.