search for books and compare prices
Tables of Contents for Essential Apache for Web Professionals
Chapter/Section Title
Page #
Page Count
Introduction
xiii
Installation
1
20
Introduction
3
3
Operating System
3
1
Source Code versus Binary Distributions
4
1
Obtaining Apache
4
1
Unpacking the Distributions
5
1
Unpacking Unix Distributions
5
1
Windows
5
1
Compiling Apache
6
6
Manual Compilation
6
1
Background Information: Make
7
1
The APACI Method
8
3
Changing the Default Configuration
11
1
Installing Apache on Unix
12
1
Higher Security Installation
12
1
Dynamic Shared Objects
13
2
Preparing Apache for DSOs
13
1
Compiling Shared Object Modules with Configure
14
1
Compiling Shared Object Modules with apxs
14
1
Using Shared Objects
14
1
Binary Distributions
15
1
Windows Installation
15
3
Basic Installation
16
1
Installing as Windows Service
17
1
Commercial Distributions
18
1
Commercial Apache via Linux Distribution
18
1
Commercial Apache
19
1
Recap
19
2
Basic Apache
21
42
Introduction
23
2
Directives
23
2
Global Behavior Directives
25
5
Server Type
25
1
ServerRoot
26
1
PidFile
26
1
ScoreBoardFile
26
1
Timeout
27
1
KeepAlive
27
1
MaxKeepAliveRequests
27
1
KeepAliveTimeout
28
1
MaxSpareServers
28
1
MinSpareServers
28
1
StartServers
28
1
MaxClients
29
1
MaxRequestsPerChild
29
1
Listen
29
1
BindAddress
30
1
LoadModule
30
1
Limiting Scope with Container Directives
30
5
Limiting Scope to a Directory via <irectory> and <DirectoryMatch>
31
1
Limiting Scope to a Directory via .htaccess Files
32
1
Limiting Scope to a URL with <Location> and <LocationMatch>
33
1
Limiting Scope to a Virtual Host
34
1
Limiting Scope by <File> and <FileMatch>
34
1
Main Server Configuration Directives
35
8
Port
35
1
User and Group
35
1
ServerAdmin
36
1
ServerName
36
1
DocumentRoot
36
1
Options
37
2
AllowOverride
39
1
AccessFileName
40
1
Order, Allow, Deny
40
1
<IfModule>
40
1
UserDir
41
1
DirectoryIndex
41
1
CacheNegotiatedDocs
42
1
ClearModuleList
42
1
AddModule
42
1
MIME Types
43
2
AddType
43
1
AddHandler
43
1
TypesConfig
44
1
DefaultType
44
1
MIMEMagicFile
44
1
Logging
45
4
HostnameLookups
45
1
ErrorLog
45
1
LogLevel
46
1
TransferLog
46
2
LogFormat Variables
48
1
Resetting Logs
49
1
Custom Output and Indexing
49
2
BrowserMatch
49
1
IndexOptions
50
1
Addlcon, AddlconByType, AddlconByEncoding
50
1
DefaultIcon
50
1
AddDescription
50
1
ReadmeName
51
1
HeaderName
51
1
IndexIgnore
51
1
Windows-Specific Configuration
51
1
Differences from Unix
52
1
MaxRequestsPerChild
52
1
ThreadsPerChild
52
1
Starting, Restarting, and Stopping
52
7
Notes for Win32 Users
52
1
Starting Apache
53
1
apachectl
53
2
Starting Apache (Windows)
55
1
Restarting Apache (Unix)
56
1
Signals
57
1
Restarting with apachectl
58
1
Restarting Apache (Windows)
58
1
Stopping Apache (Unix)
59
1
Stopping Apache (Windows)
59
1
Troubleshooting
59
2
Fcntl: F_SETLKW: No record locks available
60
1
Cannot determine host name. Use ServerName directive to set it manually
60
1
setgid: Invalid argument
60
1
Linux Problems
61
1
Windows Problems
61
1
Error 1067
61
1
Recap
61
2
Hosting Multiple Sites
63
14
Introduction
64
1
Prerequisites
65
3
Ports
66
1
Port Directives
67
1
IP Addresses
67
1
Virtual Hosting by Name
68
3
NameVirtualHost
68
1
<VirtualHost>
69
1
Default Virtual Host
70
1
Configuration Tip
71
1
Virtual Hosting by IP
71
1
Combining Name- and IP-Based Virtual Hosts
72
1
Suggestions for Virtual Host Configuration
72
1
User Home Pages
73
3
UserDir Some_subdirectory
73
2
UserDir /an/absolute/path
75
1
UserDir /absolute/path/*/with/wildcard
75
1
Recap
76
1
Dynamic Content
77
26
Introduction
78
1
Server Side Includes
79
5
Enabling SSI
79
2
XBitCrack
81
1
SSI Keywords
81
1
Config
81
1
echo
82
1
exec
82
1
fsize
82
1
flastmod
82
1
if and elif
83
1
include
83
1
printenv
83
1
set
83
1
CGI
84
5
Enabling CGI by Location
84
2
Enabling CGI by File Type
86
1
Debugging CGI
86
2
CGI Environment Variables
88
1
Controlling Resource Usage
88
1
FastCGI
89
2
Obtaining FastCGI
89
2
FastCgilpcDir
91
1
mod_perl
91
5
Installing mod_perl
92
1
Compiling mod_perl into httpd
93
1
Creating a mod_perl DSO
94
1
Using mod_perl
94
1
Apache::ASP
95
1
mod_python
96
4
Installing
97
2
Configuring Apache
99
1
PythonDebug
99
1
PHP
100
2
Installing PHP
101
1
Configuring Apache for PHP
101
1
Recap
102
1
Advanced Topics
103
26
Introduction
104
1
Performance Tuning
104
7
mod_status
104
1
Excessive Name Resolution
105
1
Excessive Logging
106
1
Generating Detailed Process Information
107
1
The vmstat Unix Utility
108
1
Active Servers
108
1
Trimming httpd
109
1
.htaccess Files
110
1
Logging
110
1
Enable KeepAlives
110
1
Web Databases
111
7
MySQL
112
1
Server Configuration
112
1
Database Access via Basic CGI
113
3
Database Access via Embedded CGI Script Interpreters
116
2
Database Access via Commercial Product
118
1
Load Balancing
118
3
Round robin DNS
119
1
mod_rewrite
119
2
Module Creation
121
6
mod_perl
121
1
The Apache API
122
1
Creating Handlers
122
1
The Request Object
123
1
A Basic Module
123
1
Invoking the Basic Module
124
1
Perl API Configuration Directives
124
1
Handler Directives
125
1
Performance Considerations
126
1
Recap
127
2
Appendix A Directive Listing
129
74
Appendix B HTTP Status Codes
203
4
Index
207
<