LightTPD is a secure, flexible, and most importantly, light web server designed and optimized for high performance environments. It is open-source and licensed under the revised BSD license. Its event-driven architecture optimized for a large number of parallel connections, its advanced features (FastCGI, CGI, Auth, Output Compression, URL Rewriting, and many more), and its small memory footprint compared to other web servers, make LightTPD the perfect server software for every web server that suffers load problems or for serving static media separately from dynamic content.
LightTPD supports the FastCGI, SCGI, and CGI interfaces to external programs, permitting web applications written in any programming language to be used with this server. Excellent performance for PHP, a particularly popular language, has received special attention. Additionally, LightTPD has become popular within the Ruby on Rails community.
What you will learn from this book?
The book teaches the reader to install, configure, and work with Lighttpd:
- Working with Lighttpd 's web application interfaces
- Configuring Lighttpd to use SSL
- Preventing attacks and minimizing damage if attacked
- Virtual hosting
- Migration from Apache to Lighttpd
- Setting up web applications and frameworks: Ruby on Rails, WordPress, MediaWiki, trac, AjaxTerm, and more
- Understand and harness Lua/FastCGI
- Writing custom modules/plugins for the Lighttpd API
Who this book is written for?
This book is for System Administrators or Web Developers seeking a lean deployment platform for web applications or who want to switch to a "lighter" web server than Apache.
About the Author
Andre Bogus is a musician turned programmer. He has worked in different jobs from voice acting to programming to teaching to managing software projects. At the moment he works as a consultant and implementer for KOGIT GmbH, an Identity Management company based in Germany.
He found Lighttpd while searching for the ideal software for his personal web server and quickly learned the tricks to make it do what he wanted. He enjoys learning new things and telling others about them. When his full schedule allows it, he can be found on the #lighttpd IRC channel.