Score:0

Trying to understand these apache log lines : 200 response followed by a 404 error for the same file

id flag

Looking at some logs from our apache server (2.4 on unbuntu 18.04) for one of our clients, and there are some lines that caught my eye and that I don't understand at all. I've been trying to explain what's going on but I'm having trouble interpreting the situation.

It's a Wordpress site and the client connects to his administration interface in the usual way.

There are many HTTP 200 responses as expected. Then since a few days I notice that after a few minutes of navigation the logs present for the same file call, same date and time, a 200 response followed by a 404 error with a volume of bytes at 0.

The example I give is one of many. In reality, they follow each other for all JS, JPG, CSS, etc. files.

[IP] - - [10/Feb/2023:21:44:58 +0100] "GET /wp-includes/js/jquery/jquery-migrate.min.js?ver=3.3.2 HTTP/2.0" 200 0 "/wp-admin/post.php?post=15220&action=edit&message=6" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/109.0"
[IP] - - [10/Feb/2023:21:44:58 +0100] "GET /wp-includes/js/jquery/jquery-migrate.min.js?ver=3.3.2 HTTP/2.0" 404 0 "/wp-admin/post.php?post=15220&action=edit&message=6" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/109.0"

I do not reproduce this situation at all when I connect from home with my PC to the administration. The logs are always clean and error-free. There is nothing in the error log by the way to help me.

I've been speculating that my client has an ad blocker for example, or that his browser cache is down, but this seems odd.

any ideas ?

Thank you !

Yohan

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.