Table of Contents
Preface
Chapter 1: Introduction to Lighttpd
Chapter 2: Configuring and Running Lighttpd
Chapter 3: More Virtual Hosting and CGI
Chapter 4: Downloads and Streams
Chapter 5: Big Brother Lighttpd
Chapter 6: Encryption: SSL
Chapter 7: Securing Lighttpd
Chapter 8: Containing Lighttpd
Chapter 9: Optimizing Lighttpd
Chapter 10: Migration from Apache
Chapter 11: CGI Revisited
Chapter 12: Using Lua with Lighttpd
Chapter 13: Writing Lighttpd Modules
Appendix A: HTTP Status Codes
Appendix B: Module/Configuration Index
Index
- Chapter 1: Introduction to Lighttpd
- Installing Lighttpd
- Building Lighttpd using Autotools
- Building Lighttpd using CMake
- Summary
- Chapter 2: Configuring and Running Lighttpd
- Starting Lighttpd by Hand
- Other Core Options
- Mime Types
- Selectors
- Excursion: Regular Expressions
- Play it Again, Sam
- Are You There?
- Decisions, Decisions
- Group and Capture
- Lucky Escape
- Excursion: Regular Expressions
- Rewriting and Redirecting Requests
- Including Variables, Files, and Shell-code
- Summary
- Chapter 3: More Virtual Hosting and CGI
- Extended Virtual Hosting
- MySQL based Virtual Hosting
- Installing MySQL
- Bringing MySQL and mod_mysqlvhost Together
- Going Dynamic
- CGI with mod_cgi
- FastCGI
- SCGI
- mod_proxy_core and backends
- Summary
- Chapter 4: Downloads and Streams
- Core Settings
- Traffic Shaping
- Showing Directory Contents
- Securing Downloads
- Streaming Content
- Putting it All Together
- Summary
- Chapter 5: Big Brother Lighttpd
- Privacy
- O Browser, Where Art Thou?
- Access Logging
- Tracking Users
- Other Data Points
- Summary
- Chapter 6: Encryption: SSL
- Self-Signed Keys
- Being our own Certificate Authority
- Obtaining a Key Pair from a Third-Party Supplier
- Configuring Lighttpd to use SSL
- Summary
- Chapter 7: Securing Lighttpd
- Barriers to Entry
- Evading Denial of Service Attacks
- Setting up Logrotate
- Know Your Foe
- RRDtool
- Grepping the Logs
- Summary
- Chapter 8: Containing Lighttpd
- Giving up Privileges
- Changing Root
- Separating the Backend
- Summary
- Chapter 9: Optimizing Lighttpd
- Installing http_load
- Running http_load Tests
- Specific Optimizations
- Example: Caching with mod_magnet
- Measuring System Load
- Profiling with gprof
- Load Testing our Profiling Build
- Summary
- Installing http_load
- Chapter 10: Migration from Apache
- Adding Lighttpd to the Mix
- Excursion: mod_proxy
- Reducing Apache Load
- mod_perl, mod_php, and mod_python
- .htaccess
- .htaccess and PHP
- Rewriting Rules
- WebDAV
- Summary
- Chapter 11: CGI Revisited
- Ruby on Rails
- WordPress
- phpMyAdmin
- MediaWiki
- Trac
- AWStats
- AjaxTerm
- Summary
- Chapter 12: Using Lua with Lighttpd
- Lua: A small Primer
- Useful Lua Libraries
- Lua/FastCGI
- Installing Lua/FastCGI
- GET and POST Requests
- Looking at the Cache
- Installing Lua/FastCGI
- Running mod_magnet
- Example: A Shoutbox
- Summary
- Chapter 13: Writing Lighttpd Modules
- Handling Configuration
- Rewriting the Request
- Manipulating the Response
- Summary
- Appendix B: Module/Configuration Index
- Internal
- mod_accesslog
- mod_alias
- mod_auth
- mod_cgi
- mod_cml
- mod_chunked
- mod_compress
- mod_deflate
- mod_dirlisting
- mod_evasive
- mod_evhost
- mod_expire
- mod_fastcgi
- mod_flv_streaming
- mod_indexfile
- mod_magnet
- mod_proxy
- mod_proxy_core
- mod_redirect
- mod_rewrite
- mod_rrdtool
- mod_scgi
- mod_secure_download
- mod_setenv
- mod_simple_vhost
- mod_sql_vhost_core, mod_mysql_vhost
- mod_ssi
- mod_staticfile
- mod_status
- mod_trigger_b4_dl
- mod_uploadprogress
- mod_webdav



