Lighttpd

I‘m trying to install the latest version of Lighttpd v1.4.29 web server under RHEL 6.1 AMD64 and getting the following error:

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 `/opt/new/lighttpd-1.4.29/src’
make[2]: *** [all] Error 2
make[2]: Leaving directory `/opt/new/lighttpd-1.4.29/src’
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/new/lighttpd-1.4.29′
make: *** [all] Error 2

How do I fix this problem under CentOS 5.x, or RHEL, or Red Hat Enterprise Linux 6.x, or Fedora Linux?

{ 0 comments }

Lighttpd Configure Subdomain

by Vivek Gite on March 18, 2011 · 0 comments

I‘ve main domain configured at http://example.com and I’d like to use http://support.example.com with different files. How do I add subdomain support with Lighttpd web server under UNIX or Linux operating systems?

{ 0 comments }

WordPress Rename Image URL For a CDN Usage

by Vivek Gite on November 20, 2010 · 23 comments

Recently, we moved all our static assets to a CDN as described here. However, we have over 8000+ old blog posts and we need to point static images url to our CDN account hosted at http://MyACCOUNT.cloudfront.net/images/ folder. How do I rename all image urls stored in wordpress posts? How do I offload static images to a CDN urls under Wordpress?

{ 23 comments }

Lighttpd Deny Access To Folders / Directories

by Vivek Gite on October 18, 2010 · 1 comment

If users try to open a Web page (http://example.com/dir1/file.php); I’d like to display a “URL Access Denied” message for /dir1/, /www/, and /dir2/cache/ directories under lighttpd web server? How do I configure lighttpd to deny access to directory?

{ 1 comment }

mod_setenv: Lighttpd Send Custom Headers

by Vivek Gite on March 26, 2010 · 0 comments

How do I add a header to the HTTP request that was received from the client under Lighttpd web server?

{ 0 comments }

I‘ve setup 5 lighttpd web servers behind Nginx based reverse proxy / load balancer to distribute load for busy e-commerce website. However, all web server nodes putting my load balncers two IP address in access log file. How do I force lighttpd to log a real IP (public IP) address of all client computers visiting our website?

{ 0 comments }

Gracefully Restart Lighttpd Web Server

by Vivek Gite on May 10, 2009 · 4 comments

How do I restart my lighttpd+php fastcgi web server gracefully under Linux / UNIX operating systems?

{ 4 comments }