[Git-commits] [grml/grml-mirrors] f6a827: Fix spurious 404 caused by run_mirmon cron
Chris Hofstaedtler
noreply at github.com
Sat Jan 18 17:39:44 CET 2025
Branch: refs/heads/master
Home: https://github.com/grml/grml-mirrors
Commit: f6a8277c376582b69d392008e7413ab9f76fee83
https://github.com/grml/grml-mirrors/commit/f6a8277c376582b69d392008e7413ab9f76fee83
Author: Chris Hofstaedtler <chris.hofstaedtler at deduktiva.com>
Date: 2025-01-18 (Sat, 18 Jan 2025)
Changed paths:
M bin/run_mirmon
Log Message:
-----------
Fix spurious 404 caused by run_mirmon cron
Apache documents this for plain text maps:
> Cached lookups
>
> The looked-up keys are cached by httpd until the mtime (modified time) of the
> mapfile changes, or the httpd server is restarted. This ensures better
> performance on maps that are called by many requests.
As a corollary, apache rereads the files when their mtime changes. Due to us
previously using a shell redirect, apache would see the files empty or half-empty,
and then the redirect would fail with a 404 Not found.
To unsubscribe from these emails, change your notification settings at https://github.com/grml/grml-mirrors/settings/notifications
More information about the Git-commits
mailing list