/
http/2

http/2

Enabling HTTP/2 for Apache httpd

Enabling HTTP/2 for TermWeb speeds up initial page render about 3x times.

Prior to enable HTTP/2 you must have at least Apache httpd 2.4.17

To enable HTTP/2 protocol for host use next config: Protocols h2 h2c http/1.1 for your virtual host config, like this:

<VirtualHost *:80> ServerName example.termweb.eu Protocols h2 h2c http/1.1 </VirtualHost>


If after restarting httpd (apachectl restart) HTTP/2 is not available then check next things:

  1. That you applied to both http and https connections new protocol

  2. That your httpd config has enabled MPM event in /etc/httpd/conf.modules.d/00-mpm.conf you need to uncomment there next line:

    # event MPM: A variant of the worker MPM with the goal of consuming # threads only for connections with active processing # See: http://httpd.apache.org/docs/2.4/mod/event.html # LoadModule mpm_event_module modules/mod_mpm_event.so

    Plus comment old one:

    #LoadModule mpm_prefork_module modules/mod_mpm_prefork.so

    And then restart httpd again.

Related content

Apache httpd configuration
Apache httpd configuration
More like this
Standard Login
Read with this
Version specific upgrade notes
Version specific upgrade notes
More like this
TermWeb 4 install on Linux
TermWeb 4 install on Linux
Read with this
TermWeb gives Proxy Error
TermWeb gives Proxy Error
More like this
TermWeb configuration (termweb.properties)
TermWeb configuration (termweb.properties)
Read with this