If people are doing that ^ frequently enough, we could make it a new directive. ext
is already just a special case of rewrite
because it’s very common and useful.
forbid <path>
or, for 404:
hide <path>
Like ext
, these would be small middlewares. … Anyway, just a thought.