Restricting blocks to certain URL paths without sub paths How can it be achieved, to make a block appear for the URL path /foo/* but not for /foo/*/bar?
That's not possible with the default path visibility condition.

If you need that, then you need to write your own condition plugin that allows to both have a white and a blacklist instead of just one or the other.