Apache 2.4.17 contains mod_http2 (formely mod_h2) and other necessary changes needed for mod_http2. Mod_http2 is contributed by Stefan Eissing (greenbytes GmbH), a great job.
A short intro HTTP/2 is at https://http2.akamai.com/ and https://en.wikipedia.org/wiki/HTTP/2
H2 requires OpenSSL 1.0.2 and it is advised to use the Modern compatibility ciphers at :https://www.apachelounge.com/viewtopic.php?p=38292 They give with SSLLabs a good score and in Chrome 'using modern cipher suite'.
The h2 protocol (http/2 over TLS/1.2) is the only protocol that the current major browsers support, like Chrome, Firefox, IOS9, Win10. The h2c (http/2 over http and no browser currently supports it) is a non-encrypted protocol that mod_http2 also supports and maybe the browsers will chill out eventually and support it. After all, not everything needs encryption and therefor a waste of resources on both ends of a connection.
There are two new core directives available, Protocols and ProtocolsHonorOrder. In the case of mod_h2 for h2:


Code: |
LoadModule http2_module modules/mod_http2.so <IfModule http2_module> ProtocolsHonorOrder On Protocols h2 http/1.1 </IfModule> |
- Below is a list of all of the modules that come as part of the Apache HTTP Server distribution. Modproxyhttp2 HTTP/2 support module for modproxy.
- Feb 15, 2018 Apache web server distributed in default software repositories of Ubuntu and Debian do not include modhttp2 needed to enable HTTP/2 functionality. You will need to add a third-party package source with latest Apache version that also inludes modhttp2.
Apache Enable Http2_module


For more info and configuration, see: http://icing.github.io/mod_h2/howto.html and https://httpd.apache.org/docs/2.4/mod/mod_http2.html
To see if your browser is using HTTP/2, Chrome has a nice extension HTTP/2 and SPDY indicator, with Windows 10 you can see it with F12 / Network, and Firefox has HTTP/2 and SPDY indicator
See also for Curl with http/2:https://www.apachelounge.com/viewtopic.php?t=6784
Please post issues with mod_http2 in the Apache forum.
Apache 2.4 Http2_module
Apache License, Version 2.0: This module allows for control of internal environment variables that are used by various Apache HTTP Server modules. These variables are also provided to CGI scripts as native system environment variables, and available for use in SSI pages. This enables the module 'http2' which does implement the protocol inside the Apache server.with-nghttp2= This specifies a non-standard location for the library libnghttp2 which is necessary for the http2 module. If nghttp2 is in a standard place, the configure process will pick it up automatically. This module requires the service of modproxy, so in order to get the ability of handling HTTP/2 proxy requests, modproxy and modproxyhttp2 need to be both loaded by the server. Modproxyhttp2 works with incoming fronted requests using HTTP/1.1 or HTTP/2. In both cases, requests proxied to the same backend are sent over a single TCP connection whenever possible (namely when the connection can.
Apache Http/2 Module Examples
Last edited by Steffen on Mon 12 Oct '15 21:59; edited 1 time in total
