This howto explains what you should do to build mod_spdy with Apache 2.4 on Ubuntu 14.04 ( Trusty Tahr ). You can also download mod_spdy for Ubuntu 14.04 on this page.
Preparing the build environment
rivy@buildhost:~/mod-spdy$ sudo apt-get -y install git g++ apache2 libapr1-dev libaprutil1-dev patch binutils make devscripts
Cloning the 2.4.7 branch
It’s important that we specify the correct branch. In the master branch you can find all code that works for apache 2.4.10. Since Ubuntu 14.04 is still using Apache 2.4.7, make sure to specify that branch.
rivy@buildhost:~/mod-spdy$ git clone -b apache-2.4.7 https://github.com/eousphoros/mod-spdy.git
Once you downloaded the branch, you should be able to change directory to it.
rivy@buildhost:~/mod-spdy$ cd mod-spdy/src rivy@buildhost:~/mod-spdy/mod-spdy/src$
Building mod_spdy
Issue the following commands to build the module.
$ ./build_modssl_with_npn.sh $ chmod +x ./build/gyp_chromium $ make BUILDTYPE=Release
If all went well, you should have built the following 2 files.
rivy@buildhost:~/mod-spdy/mod-spdy/src$ ls -l mod_ssl.so out/Release/libmod_spdy.so -rwxrwxr-x 1 rivy rivy 2417086 Mar 11 15:35 mod_ssl.so -rwxrwxr-x 2 rivy rivy 392598 Mar 11 15:37 out/Release/libmod_spdy.so
Download mod_spdy
If you don’t want to build mod_spdy with Apache 2.4 on Ubuntu 14.04, you can download them here.
Configure Apache2 to use mod_spdy
Look at this post to find all the steps to configure Apache2 with mod_spdy.
Pingback: Using mod_spdy with Apache 2.4 on Ubuntu 14.04 - Thomas Elsen Security Blog