I have proved this to be working for me. I hope this is helpful to others
Compiling Lighttpd from source
./configure –prefix=/usr –exec-prefix=/usr –bindir=/usr/bin –sbindir=/usr/sbin –sysconfdir=/etc –datadir=/usr/share –includedir=/usr/include –libdir=/usr/lib –libexecdir=/usr/libexec –localstatedir=/var –sharedstatedir=/usr/com –mandir=/usr/share/man –infodir=/usr/share/info –with-openssl –with-pcre –with-zlib –with-bzip2 –disable-ipv6 –with-PACKAGE=mod_redirect –with-rewrite –with-redirect ./configure  –program-prefix= –prefix=/usr –exec-prefix=/usr –bindir=/usr/bin –sbindir=/usr/sbin –sysconfdir=/etc –datadir=/usr/share –includedir=/usr/include –libdir=/usr/lib –libexecdir=/usr/libexec –localstatedir=/var –sharedstatedir=/usr/com –mandir=/usr/share/man –infodir=/usr/share/info –with-openssl –with-pcre –with-zlib –with-bzip2 –disable-ipv6 –with-PACKAGE=mod_redirect –with-rewrite –with-redirect ;
$ make
# make install
Light-httpd-conf
=======
server.document-root = “/var/www/html”
server.port = 80
server.username = “lighttpd”
server.groupname = “lighttpd”
server.bind                = “192.168.1.245″
server.tag =”lighttpd”
server.errorlog            = “/var/log/lighttpd/error.log”
accesslog.filename         …

Read On »