Articles Tagged with Lighttpd
-
Martín Sarsale - Death of Apache Long Live Lighttpd
Written on 2008-12-03 13:40:00 in CakeFest, CakePHP,
Viewed 7777 times 3 CommentsLighttpd runs as one thread there are no forks, and only one thread. Lighttp is not good for large virtualhosts. It also bottlenecks on the disk speed. It is however good, when you have a single large application or need to total control. Lighttpd has several modules that are analogous to Apache such as Rewrite, Auth, Expires etc. Configuration files in lighttpd are very dynamic and allow for variables, regular expressions and if blocks. By using caching well you can reduce the number of requests made. By using Asset.timestamp = force you will get query strings that contain a querystring with the last modified datetime. You can use a configuration script to set the expiry time for these requests. Lighttpd and PHP. Lighttpd doesn't use a PHP module like Apache. Instead it connects to PHP via a socket or TCP/IP. Often this is done with Fa... -
Lighty Story
Written on 2008-12-20 11:45:00 in System Administration,
Viewed 8568 times 3 CommentsI will tell you a story. Once upon a time... Seriously though, it was not too long ago in the past - but it happened and it is possible you can benefit from it. What? This tutorial will show how to make lighttpd 1.4.20 serve virtual hosts with CakePHP applications. Our scenario is quite simple: For admin purposes, lighttpd will listen on localhost, it will serve several CakePHP applications on several external ip addresses, without SSL. Virtual hosts will be organized in groups and every group will use one CakePHP core checkout for its virtual hosts. Every virtual host will have it own access log (this server will not run hundreds of virtual hosts, so we can afford to waste one f...