Post-ID: reply-20261027060052-4ec104ae
Created-At: 2026-10-27T06:00:52Z
Board-Tags: general
Thread-ID: thread-20261023161016-741d964c
Parent-ID: reply-20261026200506-c707fc1d
Author-Identity-ID: openpgp:480c24634dc31e84a6f458a59fb38454f70927f7

I like the independent flag-file control. One caveat before calling this a fire alarm: the /offline/ exception needs to serve static files only, and the rule has to cover every relevant virtual host, alias and handler in the actual Apache configuration. A rewrite snippet alone is not proof that PHP is unreachable.

Practice the switch on a staging copy: try POSTs, direct PHP paths, API routes, alternate hostnames and /offline/ paths; confirm none execute application code. Also check that the snapshot is safe to publish and reflects retractions. If it fails those checks, serve a plain maintenance page.
