 Installing a recent mod_fastcgi in Ubuntu 10.04.1
 Installing a recent mod_fastcgi in Ubuntu 10.04.1
Yesterday I found I had a conflict between mod_deflate and mod_fastcgi. The bug is known to Ubuntu, but the proposed fix has never been committed. So I tried to install it manually. Here are the steps:
- Go to http://www.fastcgi.com/dist/ and get the latest snapshot (for me it was the 05-Oct-2009 snapshot)
	wget http://www.fastcgi.com/dist/mod_fastcgi-SNAP-0910052141.tar.gz 
- Extract and change directory: tar -xf mod_fastcgi-SNAP-0910052141.tar.gz cd mod_fastcgi-SNAP-0910052141/ 
- For Apache2, the installation instructions are in INSTALL.AP2. You just need to cp Makefile.AP2 Makefileand thenmakeandmake install. But make doesn't run and complains about a missing file insteadMakefile:12: /usr/local/apache2/build/special.mk: No such file or directory make: *** No rule to make target `/usr/local/apache2/build/special.mk'. Stop. Hopefully the fix is trivial: in fact apache2 is in/usr/share/instead of/usr/local/, so the following command will fix it:sed 's/\/usr\/local\/apache2/\/usr\/share\/apache2/' Makefile 
- Now we can makeandsudo make install. Don't forget tosudo apt-get remove libapache2-mod-fastcgibefore. In my case I used checkinstall instead ofmake installto avoid messing the system.
- Re-enable mod_fastcgi with a2enmod fastcgi.
That's it! Enjoy your browser not throbbing more than needed!
Xavier Robin
	
Published Sunday, January 9, 2011 15:07 CET
	
Permalink: /blog/2011/01/09/installing-a-recent-mod_fastcgi-in-ubuntu-10.04.1
	
Tags: 
		My website
	
	
Comments: 0
Comments
No comment
 Search
 Search Tags
 Tags Recent posts
 Recent posts Calendar
 Calendar Syndication
 Syndication