OS type and version: Rocky 9.1
Virtualmin version: 7.5
I have set up a simple server (speedtest.aiskon.net) that has the open source project OpenSpeedTest loaded - it’s an HTML 5 app that helps you test network speed (locally on your LAN, across the web, etc.)
One of the things noted with it is that HTTP2 needs to be disabled for it to work properly. In Virtualmin, I go to Server Configuration => Website Options, and when I change “Enable HTTP2 protocol support” to No, I get one of two results:
“No changes were made to PHP configuration …skipping”
I make an additional change, save it, and when I go back to check, the option is still on “Default (Yes)”
I get the feeling this is just a simple UI bug? Am I missing something, or is there another way to disable HTTP2 ?
Its enabled globally yes, that’s how it installs with Rocky9.
Bingo, that fixed it, disabling Apaches http2 global settings now allows it to be turned off and on in the virtual server.
http2 default has changed from Yes to No.
I added fix, one small issue still if I go from Default(Yes) to No it fails
But if I go from Default(Yes) to Yes and save then to No and save it works.
And the toggling Between Yes and No works (not use the Default(yes).
I’m pretty sure I changed the code ok, and I can see the push(@$prots, “http/1.1”); should fix the no.
No, as UI should have just basic options, like ● Default, ○ Yes, ○ No. We do the logic, making sure that http/1.1 always placed after h2. It’s explained and described in Apache docs that protocol order matters: