Your ads will be inserted here by

Easy Plugin for AdSense.

Please go to the plugin admin page to
Paste your ad code OR
Suppress this ad slot.

Follow the steps to rock with LIGHTTPD (version: 1.4.29) (In centos Machine.)

wget http://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-1.4.29.tar.gz
tar -zxvf lighttpd-1.4.29.tar.gz
cd lighttpd-1.4.29
./configure –enable-mysql && make && make install && make install all
compiling with ssl
./configure –with-openssl –with-bzip2 && make && make install && make install all
sed -e ‘s/FOO/lighttpd/g’ doc/initscripts/rc.lighttpd.redhat > /etc/init.d/lighttpd
chmod +x /etc/init.d/lighttpd
ln -s /usr/local/sbin/lighttpd /usr/sbin/lighttpd
mkdir /etc/lighttpd
cp lighttpd.conf /etc/lighttpd/lighttpd.conf
service lighttpd start
cd .. (get into docs folder)
cp -R config/conf.d/ config/*.conf config/vhosts.d/ /etc/lighttpd/
chkconfig lighttpd on
service lighttpd start
mkdir /srv/www/htdocs
mkdir -p /srv/www/htdocs
service lighttpd start
vi /etc/lighttpd/lighttpd.conf
service lighttpd restart
netstat -tupan | grep 80

##################
Problem:
network.c: In function ‘network_init’:
network.c:483: error: ‘EC_KEY’ undeclared (first use in this function)
network.c:483: error: (Each undeclared identifier is reported only once
network.c:483: error: for each function it appears in.)
network.c:483: error: ‘ecdh’ undeclared (first use in this function)
network.c:484: warning: unused variable ‘nid’
make[3]: *** [network.o] Error 1
make[3]: Leaving directory `/usr/local/src/new/lighttpd-1.4.29/src’
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/local/src/new/lighttpd-1.4.29/src’
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/new/lighttpd-1.4.29′
make: *** [all] Error 2

Solution
$ cd /tmp
$ wget http://redmine.lighttpd.net/attachments/1294/lighttpd_1.4.29_ssl_no_ecdh.patch
cd to the lighttpd v1.4.29 source code directory:

$ cd /usr/local/src/lighttpd-1.4.29 (to the source directory)
Apply the patch, enter:
$ patch -p1 < /tmp/lighttpd_1.4.29_ssl_no_ecdh.patch Now, you can compile lighttpd as follows: $ ./configure --with-openssl $ make $ sudo make install you can manuall download patch from http://redmine.lighttpd.net/attachments/1294/lighttpd_1.4.29_ssl_no_ecdh.patch