mod_http2 is not available under Apache 2.4.18 / Ubuntu 16.04 xenial

Bug #1543572 reported by Vivien GUEANT on 2016-02-09
This bug report is a duplicate of:  Bug #1687454: [MIR] nghttp2. Edit Remove
This bug affects 16 people
Affects Status Importance Assigned to Milestone
apache2 (Ubuntu)
Kick In

Bug Description

With Apache 2.4.18 (Server built: 2016-01-21T20:15:22) / Ubuntu Xenial Xerus (development branch)

mod_http2 for HTTP/2 is not available in folder /etc/apache2/mods-available
(/etc/apache2/mods-available/http2.load does not exist)

HTTP/2 (originally named HTTP/2.0) is the second major version of the HTTP network protocol used by the World Wide Web.
Apache2.4.18 docs for HTTP/2 :

Apache2 version : Server version: Apache/2.4.18 (Ubuntu) Server built: 2016-01-21T20:15:22
Kernel : 4.4.0-2-generic #16-Ubuntu SMP Thu Jan 28 15:44:21 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Ubuntu Xenial Xerus (development branch)

Vivien GUEANT (vivienfr) on 2016-02-09
no longer affects: dhis2
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in apache2 (Ubuntu):
status: New → Confirmed
Nils Hartmann (x378) wrote :


    - Don't build experimental http2 module for LTS:
      + debian/control: removed libnghttp2-dev Build-Depends (in universe).
      + debian/config-dir/mods-available/http2.load: removed.

So it seems that it was removed on purpose!?

This should really be added before release.

Kick In (kick-d) on 2016-04-11
Changed in apache2 (Ubuntu):
assignee: nobody → Kick In (kick-d)
Robie Basak (racb) wrote :

This is deliberate. See bug 1531864. Or is Apache's http2 support non-experimental now?

Nils Hartmann (x378) wrote :

My workaround to install the http2 module and still be get security-updates:

Since the http2 module is still included in the source it's pretty easy to compile it and copy it back to the apache installed from the package.

Make sure you've the source repositories in the apt sources.

You need to install libnghttp2-dev, download the apache2 sources and build them without any changes:
$ sudo apt-get install libnghttp2-dev
$ mkdir apache2
$ cd apache2
$ apt-get source apache2
$ sudo apt-get build-dep apache2
$ cd apache-2.4.18
$ fakeroot debian/rules binary

afterwards just copy the from debian/apache2-bin/usr/lib/apache2/modules/ to /usr/lib/apache2/modules/ and create a load-file in $APACHE-ROOT/mods-available/


@Nils Hartmann (x378) Thanks!

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers