更新时间:2021-08-25 18:06:46
封面
Lighttpd
Credits
About the Author
About the Reviewer
Preface
What This Book Covers
What You Need For this Book
Who is This Book For
Conventions
Reader Feedback
Customer Support
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
Rewriting and Redirecting Requests
Including Variables Files and Shell-code
Chapter 3. More Virtual Hosting and CGI
Extended Virtual Hosting
MySQL based Virtual Hosting
Going Dynamic
CGI with mod_cgi
FastCGI
SCGI
mod_proxy_core and backends
Chapter 4. Downloads and Streams
Core Settings
Traffic Shaping
Showing Directory Contents
Securing Downloads
Streaming Content
Putting it All Together
Chapter 5. Big Brother Lighttpd
Privacy
O Browser Where Art Thou?
Access Logging
Tracking Users
Other Data Points
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
Chapter 7. Securing Lighttpd
Barriers to Entry
Evading Denial of Service Attacks
Know Your Foe
Chapter 8. Containing Lighttpd
Giving up Privileges
Changing Root
Separating the Backend
Chapter 9. Optimizing Lighttpd
Installing http_load
Specific Optimizations
Profiling with gprof
Chapter 10. Migration from Apache
Adding Lighttpd to the Mix
Excursion: mod_proxy
Reducing Apache Load
mod_perl mod_php and mod_python
.htaccess
Rewriting Rules
WebDAV
Chapter 11. CGI Revisited
Ruby on Rails
WordPress
phpMyAdmin
MediaWiki
Trac
AWStats
AjaxTerm
Chapter 12. Using Lua with Lighttpd
Lua: A small Primer
Useful Lua Libraries
Lua/FastCGI
Running mod_magnet
Example: A Shoutbox
Chapter 13. Writing Lighttpd Modules
Handling Configuration
Rewriting the Request
Manipulating the Response