售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
Lighttpd
Table of Contents
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
Downloading the Example Code for the Book
Errata
Piracy
Questions
1. Introduction to Lighttpd
Installing Lighttpd
Building Lighttpd using Autotools
Building Lighttpd using CMake
Summary
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
Rewriting and Redirecting Requests
Including Variables, Files, and Shell-code
Summary
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
4. Downloads and Streams
Core Settings
Traffic Shaping
Showing Directory Contents
Securing Downloads
Streaming Content
Putting it All Together
Summary
5. Big Brother Lighttpd
Privacy
O Browser, Where Art Thou?
Access Logging
Tracking Users
Other Data Points
Summary
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
7. Securing Lighttpd
Barriers to Entry
Evading Denial of Service Attacks
Setting up Logrotate
Know Your Foe
RRDtool
Grepping the Logs
Summary
8. Containing Lighttpd
Giving up Privileges
Changing Root
Separating the Backend
Summary
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
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
11. CGI Revisited
Ruby on Rails
WordPress
phpMyAdmin
MediaWiki
Trac
AWStats
AjaxTerm
Summary
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
Running mod_magnet
Example: A Shoutbox
Summary
13. Writing Lighttpd Modules
Handling Configuration
Rewriting the Request
Manipulating the Response
Summary
A. HTTP Status Codes
B. Module/Configuration Index
Internal
mod_access
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_userdir
mod_usertrack
mod_webdav
Index
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜