| ServerTokens
|
Specifies the response code at the bottom of error pages; options include OS, Prod, Major, Minor, Min, and Full. |
| ServerRoot
|
Sets the default directory; other directives are subdirectories. |
| PidFile
|
Names the file with the Process ID (and locks the service). |
| Timeout
|
Limits access time for both sent and received messages. |
| KeepAlive | Supports persistent connections. |
| MaxKeepAliveRequests
|
Limits requests during persistent connections (unless set to 0, which is no limit). |
| KeepAliveTimeout
|
Sets a time limit, in seconds, before a connection is closed. |
| StartServers
|
Adds child Apache processes; normally set to 8, which means 9 Apache processes run upon startup. |
| MinSpareServers | Specifies a minimum number of idle child servers. |
| MaxSpareServers
|
Specifies a maximum number of idle child servers; always at least +1 greater than MinSpareServers. |
| ServerLimit | Sets a limit on configurable processes; cannot exceed 20000. |
| MaxClients
|
Limits the number of simultaneous requests; other requests to the server just have to wait. |
| MaxRequestsPerChild | Limits the requests per child server process. |
| MinSpareThreads
|
Specifies the minimum number of spare threads to handle additional requests. |
| MaxSpareThreads
|
Specifies the maximum number of available idle threads to handle additional requests. |
| ThreadsPerChild | Sets the number of threads per child server process. |
| Listen
|
Specifies a port and possibly an IP address (for multihomed systems) to listen for requests. |
| LoadModule
|
Loads various modular components, such as authentication, user tracking, executable files, and more. |
| Include | Adds the content of other configuration files. |
| User | Specifies the username run by Apache on the local system. |
| Group | Specifies the group name run by Apache on the local system. |
Main Server Configuration Directives
| ServerAdmin
|
Sets the administrative e-mail address; may be shown (or linked to) on default error pages. |
| UseCanonicalName
|
Supports the use of ServerName as the referenced URL. |
| DocumentRoot | Assigns the root directory for web site files. |
| Options
|
Specifies features associated with web directories, such as ExecCGI, FollowSymLinks, Includes, Indexes, MultiViews, and SymLinksIfOwnerMatch. |
| AllowOverride
|
Supports overriding of previous directives from .htaccess files. |
| Order
|
Sets the sequence for evaluating Allow and Deny directives. |
| Allow | Configures host computers that are allowed access. |
| Deny | Configures host computers that are denied access. |
| UserDir
|
Specifies location of user directories; can be set to enable or disable for all or specified users. |
| DirectoryIndex | Specifies files to look for when navigating to a directory; set to index.html by default. |
| AccessFileName
|
Sets a filename within a directory for more directives; normally looks for .htaccess. |
| Satisfy | Specifies result when both user and host restrictions are used; may be set to Any or All. |
| TypesConfig
|
Locates mime.types, which specifies file types associated with extensions. |
| DefaultType | Sets a default file type if not found in mime.types. |
| MIMEMagicFile
|
Normally looks to /etc/httpd/conf/magic to look inside a file for its MIME type. |
| HostNameLookups
|
Requires URL lookups for IP addresses; results are logged. |
| ErrorLog | Locates the error log file, relative to ServerRoot. |
| LogLevel | Specifies the level of log messages. |
| LogFormat | Sets the information included in log files. |
| CustomLog
|
Creates a customized log file, in a different format, with a location relative to ServerRoot. |
| ServerSignature
|
Adds a list with server version and possibly ServerAdmin e-mail address to error pages and file lists; can be set to On, OFF, or EMail. |
| Alias | Configures a directory location; similar to a soft link. |
| DAVLockDB
|
Specifies the path to the lock file for the WebDAV (Web-based Distributed Authoring and Versioning) database. |
| ScriptAlias | Similar to Alias; for scripts. |
| IndexOptions | Specifies how files are listed from a DirectoryIndex. |
| AddIconByEncoding | Assigns an icon for a file by MIME encoding. |
| AddIconByType | Assigns an icon for a file by MIME type. |
| AddIcon | Assigns an icon for a file by extension. |
| DefaultIcon | Sets a default icon for files not otherwise configured. |
| ReadmeName | Configures a location for a README file to go with a directory list. |
| HeaderName
|
Configures a location for a HEADER file to go with a directory list. |
| IndexIgnore | Adds files that are not included in a directory list. |
| AddLanguage | Assigns a language for filename extensions. |
| LanguagePriority
|
Sets a priority of languages if not configured in client browsers. |
| ForceLanguagePriority |
Specifies action if a web page in the preferred language is not found. |
| AddDefaultCharset | Sets a default character set; you may need to change it for different languages. |
| AddType | Maps filename extensions to a specified content type. |
| AddHandler
|
Maps filename extensions to a specified handler; commonly used for scripts or multiple languages. |
| AddOutputFilter | Maps filename extensions to a specified filter. |
| BrowserMatch | Customizes responses to different browser clients. |

