I would like the Apache webserver to normally deliver content with the "http/2"-Protocol, but to fall back to "http/1.1" if the connection stems from a certain user-agent, which has faulty http/2-Support.
My current workaround is to disable http/2 for the considered virtualhost completely, but due to efficiency concerns this protocol should only be disabled for a certain user-agent and should otherwise be used as a default for all other user-agents.
According to my understanding of the Apache documentation, using Apache's Protocols Directive inside Apache's <If> Directive will not work, as only directives that support the directory context can be used within the <If> Directive and the Protocols Directive does not support the directory context.