Upgrade Lighttpd from 1.4.20 to 1.4.26

Required:
gcc automake autoconf libtool make
pcre-devel gamin (gamin-devel) zlib zlib-devel bzip2 bzip2-devel curl

wget http://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-1.4.26.tar.gz
tar -xzvf lighttpd-1.4.26.tar.gz
cd lighttpd-1.4.26
./configure --with-fam --with-pcre --with-zlib --with-bzip2 --with-openssl --sbindir=/usr/sbin --sysconfdir=/etc/lighttpd
make
make install
/sbin/service lighttpd restart

Very likely Lighty will report SSL error

cd src
rm network.c
wget http://redmine.lighttpd.net/projects/lighttpd/repository/revisions/2716/raw/branches/lighttpd-1.4.x/src/network.c
cd ..
./configure --with-fam --with-pcre --with-zlib --with-bzip2 --with-openssl --sbindir=/usr/sbin --sysconfdir=/etc/lighttpd
make install

@reference:
http://www.vpskong.com/archives/7.html
http://fredericiana.com/2010/03/29/lighttpd-1-4-26-ssl-bug/

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s