Cari di Apache 
    Apache Modules
Daftar Isi
(Sebelumnya) Directive index - Run-time Con ...Compiling and Installing Apache (Berikutnya)

Directive Quick Reference

The directive quick reference shows the usage, default, status, and context of each Apache configuration directive. For more information about each of these, see the Directive Dictionary.

The first column gives the directive name and usage. The second columns shows the default value of the directive, if a default exists. If the default is too large to display, the first characters will be followed by "+".

The third and fourth columns list the contexts where the directive is allowed and the status of the directive according to the legend tables below.

 A  |  B  |  C  |  D  |  E  |  F  |  G  |  H  |  I  |  K  |  L  |  M  |  N  |  O  |  P  |  R  |  S  |  T  |  U  |  V  |  W  |  X 
sserver config
vvirtual host
ddirectory
h.htaccess
CCore
MMPM
BBase
EExtension
XExperimental
AcceptFilter protocol accept_filtersC
Configures optimizations for a Protocol's Listener Sockets
AcceptMutex Default|method Default sM
Method that Apache uses to serialize multiple childrenaccepting requests on network sockets
AcceptPathInfo On|Off|Default Default svdhC
Resources accept trailing pathname information
AccessFileName filename [filename] ... .htaccess svC
Name of the distributed configuration file
Action action-type cgi-script [virtual]svdhB
Activates a CGI script for a particular handler orcontent-type
AddAlt string file [file] ...svdhB
Alternate text to display for a file, instead of anicon selected by filename
AddAltByEncoding string MIME-encoding[MIME-encoding] ...svdhB
Alternate text to display for a file instead of an iconselected by MIME-encoding
AddAltByType string MIME-type[MIME-type] ...svdhB
Alternate text to display for a file, instead of anicon selected by MIME content-type
AddCharset charset extension[extension] ...svdhB
Maps the given filename extensions to the specified contentcharset
AddDefaultCharset On|Off|charset Off svdhC
Default charset parameter to be added when a responsecontent-type is text/plain or text/html
AddDescription string file [file] ...svdhB
Description to display for a file
AddEncoding MIME-enc extension[extension] ...svdhB
Maps the given filename extensions to the specified encodingtype
AddHandler handler-name extension[extension] ...svdhB
Maps the filename extensions to the specifiedhandler
AddIcon icon name [name]...svdhB
Icon to display for a file selected by name
AddIconByEncoding icon MIME-encoding[MIME-encoding] ...svdhB
Icon to display next to files selected by MIMEcontent-encoding
AddIconByType icon MIME-type[MIME-type] ...svdhB
Icon to display next to files selected by MIMEcontent-type
AddInputFilter filter[;filter...]extension [extension] ...svdhB
Maps filename extensions to the filters that will processclient requests
AddLanguage MIME-lang extension[extension] ...svdhB
Maps the given filename extension to the specified contentlanguage
AddModuleInfo module-name stringsvE
Adds additional information to the moduleinformation displayed by the server-info handler
AddOutputFilter filter[;filter...]extension [extension] ...svdhB
Maps filename extensions to the filters that will processresponses from the server
AddOutputFilterByType filter[;filter...]MIME-type [MIME-type] ...svdhC
assigns an output filter to a particular MIME-type
AddType MIME-type extension[extension] ...svdhB
Maps the given filename extensions onto the specified contenttype
Alias URL-pathfile-path|directory-pathsvB
Maps URLs to filesystem locations
AliasMatch regexfile-path|directory-pathsvB
Maps URLs to filesystem locations using regularexpressions
Allow from all|host|env=[!]env-variable[host|env=[!]env-variable] ...dhB
Controls which hosts can access an area of theserver
AllowCONNECT port [port] ... 443 563 svE
Ports that are allowed to CONNECT through theproxy
AllowEncodedSlashes On|Off Off svC
Determines whether encoded path separators in URLs are allowed tobe passed through
AllowOverride All|None|directive-type[directive-type] ... All dC
Types of directives that are allowed in.htaccess files
Anonymous user [user] ...dhE
Specifies userIDs that are allowed access withoutpassword verification
Anonymous_LogEmail On|Off On dhE
Sets whether the password entered will be logged in theerror log
Anonymous_MustGiveEmail On|Off On dhE
Specifies whether blank passwords are allowed
Anonymous_NoUserID On|Off Off dhE
Sets whether the userID field may be empty
Anonymous_VerifyEmail On|Off Off dhE
Sets whether to check the password field for a correctlyformatted email address
AuthBasicAuthoritative On|Off On dhB
Sets whether authorization and authentication are passed tolower level modules
AuthBasicProvider provider-name[provider-name] ... file dhB
Sets the authentication provider(s) for this location
AuthDBDUserPWQuery querydE
SQL query to look up a password for a user
AuthDBDUserRealmQuery querydE
SQL query to look up a password hash for a user and realm.
AuthDBMGroupFile file-pathdhE
Sets the name of the database file containing the listof user groups for authorization
AuthDBMType default|SDBM|GDBM|NDBM|DB default dhE
Sets the type of database file that is used tostore passwords
AuthDBMUserFile file-pathdhE
Sets the name of a database file containing the list of users andpasswords for authentication
AuthDefaultAuthoritative On|Off On dhB
Sets whether authentication is passed to lower levelmodules
AuthDigestAlgorithm MD5|MD5-sess MD5 dhE
Selects the algorithm used to calculate the challenge andresponse hashes in digest authentication
AuthDigestDomain URI [URI] ...dhE
URIs that are in the same protection space for digestauthentication
AuthDigestNcCheck On|Off Off sE
Enables or disables checking of the nonce-count sent by theserver
AuthDigestNonceFormat formatdhE
Determines how the nonce is generated
AuthDigestNonceLifetime seconds 300 dhE
How long the server nonce is valid
AuthDigestProvider provider-name[provider-name] ... file dhE
Sets the authentication provider(s) for this location
AuthDigestQop none|auth|auth-int [auth|auth-int] auth dhE
Determines the quality-of-protection to use in digestauthentication
AuthDigestShmemSize size 1000 sE
The amount of shared memory to allocate for keeping trackof clients
AuthGroupFile file-pathdhB
Sets the name of a text file containing the listof user groups for authorization
AuthLDAPBindDN distinguished-namedhE
Optional DN to use in binding to the LDAP server
AuthLDAPBindPassword passworddhE
Password used in conjuction with the bind DN
AuthLDAPCharsetConfig file-pathsE
Language to charset conversion configuration file
AuthLDAPCompareDNOnServer on|off on dhE
Use the LDAP server to compare the DNs
AuthLDAPDereferenceAliases never|searching|finding|always Always dhE
When will the module de-reference aliases
AuthLDAPGroupAttribute attributedhE
LDAP attributes used to check for group membership
AuthLDAPGroupAttributeIsDN on|off on dhE
Use the DN of the client username when checking forgroup membership
AuthLDAPRemoteUserAttribute uiddhE
Use the value of the attribute returned during the userquery to set the REMOTE_USER environment variable
AuthLDAPRemoteUserIsDN on|off off dhE
Use the DN of the client username to set the REMOTE_USERenvironment variable
AuthLDAPUrl url [NONE|SSL|TLS|STARTTLS]dhE
URL specifying the LDAP search parameters
AuthName auth-domaindhC
Authorization realm for use in HTTPauthentication
<AuthnProviderAlias baseProvider Alias>... </AuthnProviderAlias>sE
Enclose a group of directives that represent anextension of a base authentication provider and referenced bythe specified alias
AuthType Basic|DigestdhC
Type of user authentication
AuthUserFile file-pathdhB
Sets the name of a text file containing the list of users andpasswords for authentication
AuthzDBMAuthoritative On|Off On dhE
Sets whether authorization will be passed on to lower levelmodules
AuthzDBMType default|SDBM|GDBM|NDBM|DB default dhE
Sets the type of database file that is used tostore list of user groups
AuthzDefaultAuthoritative On|Off On dhB
Sets whether authorization is passed to lower levelmodules
AuthzGroupFileAuthoritative On|Off On dhB
Sets whether authorization will be passed on to lower levelmodules
AuthzLDAPAuthoritative on|off on dhE
Prevent other authentication modules fromauthenticating the user if this one fails
AuthzOwnerAuthoritative On|Off On dhE
Sets whether authorization will be passed on to lower levelmodules
AuthzUserAuthoritative On|Off On dhB
Sets whether authorization will be passed on to lower levelmodules
BalancerMember [balancerurl] url [key=value [key=value ...]]dE
Add a member to a load balancing group
BrowserMatch regex [!]env-variable[=value][[!]env-variable[=value]] ...svdhB
Sets environment variables conditional on HTTP User-Agent
BrowserMatchNoCase regex [!]env-variable[=value] [[!]env-variable[=value]] ...svdhB
Sets environment variables conditional on User-Agent withoutrespect to case
BufferedLogs On|Off Off sB
Buffer log entries in memory before writing to disk
CacheDefaultExpire seconds 3600 (one hour) svE
The default duration to cache a document when no expiry date is specified.
CacheDirLength length 2 svE
The number of characters in subdirectory names
CacheDirLevels levels 3 svE
The number of levels of subdirectories in thecache.
CacheDisable url-stringsvE
Disable caching of specified URLs
CacheEnable cache_type url-stringsvE
Enable caching of specified URLs using a specified storagemanager
CacheFile file-path [file-path] ...sX
Cache a list of file handles at startup time
CacheIgnoreCacheControl On|Off Off svE
Ignore request to not serve cached content to client
CacheIgnoreHeaders header-string [header-string] ... None svE
Do not store the given HTTP header(s) in the cache.
CacheIgnoreNoLastMod On|Off Off svE
Ignore the fact that a response has no Last Modifiedheader.
CacheIgnoreQueryString On|Off Off svE
Ignore query string when caching
CacheIgnoreURLSessionIdentifiers identifier [identifier] ... None svE
Ignore defined session identifiers encoded in the URL when caching
CacheLastModifiedFactor float 0.1 svE
The factor used to compute an expiry date based on theLastModified date.
CacheMaxExpire seconds 86400 (one day) svE
The maximum time in seconds to cache a document
CacheMaxFileSize bytes 1000000 svE
The maximum size (in bytes) of a document to be placed in thecache
CacheMinFileSize bytes 1 svE
The minimum size (in bytes) of a document to be placed in thecache
CacheNegotiatedDocs On|Off Off svB
Allows content-negotiated documents to be cached by proxy servers
CacheRoot directorysvE
The directory root under which cache files arestored
CacheStoreNoStore On|Off Off svE
Attempt to cache requests or responses that have been marked as no-store.
CacheStorePrivate On|Off Off svE
Attempt to cache responses that the server has marked as private
CGIMapExtension cgi-path .extensiondhC
Technique for locating the interpreter for CGIscripts
CharsetDefault charsetsvdhE
Charset to translate into
CharsetOptions option [option] ... DebugLevel=0 NoImpl +svdhE
Configures charset translation behavior
CharsetSourceEnc charsetsvdhE
Source charset of files
CheckCaseOnly on|off Off svdhE
Limits the action of the speling module to case corrections
CheckSpelling on|off Off svdhE
Enables the spelling module
ChrootDir /path/to/directorysM
Directory for apache to run chroot(8) after startup.
ContentDigest On|Off Off svdhC
Enables the generation of Content-MD5 HTTP Responseheaders
CookieDomain domainsvdhE
The domain to which the tracking cookie applies
CookieExpires expiry-periodsvdhE
Expiry time for the tracking cookie
CookieLog filenamesvB
Sets filename for the logging of cookies
CookieName token Apache svdhE
Name of the tracking cookie
CookieStyle Netscape|Cookie|Cookie2|RFC2109|RFC2965 Netscape svdhE
Format of the cookie header field
CookieTracking on|off off svdhE
Enables tracking cookie
CoreDumpDirectory directorysM
Directory where Apache attempts toswitch before dumping core
CustomLog file|pipeformat|nickname[env=[!]environment-variable]svB
Sets filename and format of log file
Dav On|Off|provider-name Off dE
Enable WebDAV HTTP methods
DavDepthInfinity on|off off svdE
Allow PROPFIND, Depth: Infinity requests
DavGenericLockDB file-pathsvdE
Location of the DAV lock database
DavLockDB file-pathsvE
Location of the DAV lock database
DavMinTimeout seconds 0 svdE
Minimum amount of time the server holds a lock ona DAV resource
DBDExptime time-in-seconds 300 svE
Keepalive time for idle connections
DBDKeep number 2 svE
Maximum sustained number of connections
DBDMax number 10 svE
Maximum number of connections
DBDMin number 1 svE
Minimum number of connections
DBDParamsparam1=value1[,param2=value2]svE
Parameters for database connection
DBDPersist On|OffsvE
Whether to use persistent connections
DBDPrepareSQL "SQL statement" labelsvE
Define an SQL prepared statement
DBDriver namesvE
Specify an SQL driver
DefaultIcon url-pathsvdhB
Icon to display for files when no specific icon isconfigured
DefaultLanguage MIME-langsvdhB
Sets all files in the given scope to the specifiedlanguage
DefaultType MIME-type|none text/plain svdhC
MIME content-type that will be sent if theserver cannot determine a type in any other way
DeflateBufferSize value 8096 svE
Fragment size to be compressed at one time by zlib
DeflateCompressionLevel valuesvE
How much compression do we apply to the output
DeflateFilterNote [type] notenamesvE
Places the compression ratio in a note for logging
DeflateMemLevel value 9 svE
How much memory should be used by zlib for compression
DeflateWindowSize value 15 svE
Zlib compression window size
Deny from all|host|env=[!]env-variable[host|env=[!]env-variable] ...dhB
Controls which hosts are denied access to theserver
<Directory directory-path>... </Directory>svC
Enclose a group of directives that apply only to thenamed file-system directory and sub-directories
DirectoryIndex local-url [local-url] ... index.html svdhB
List of resources to look for when the client requestsa directory
<DirectoryMatch regex>... </DirectoryMatch>svC
Enclose directives that apply tofile-system directories matching a regular expression and theirsubdirectories
DirectorySlash On|Off On svdhB
Toggle trailing slash redirects on or off
DocumentRoot directory-path /usr/local/apache/h +svC
Directory that forms the main document tree visiblefrom the web
DumpIOInput On|Off Off sE
Dump all input data to the error log
DumpIOLogLevel level debug sE
Controls the logging level of the DumpIO output
DumpIOOutput On|Off Off sE
Dump all output data to the error log
EnableExceptionHook On|Off Off sM
Enables a hook that runs exception handlersafter a crash
EnableMMAP On|Off On svdhC
Use memory-mapping to read files during delivery
EnableSendfile On|Off On svdhC
Use the kernel sendfile support to deliver files to the client
ErrorDocument error-code documentsvdhC
What the server will return to the clientin case of an error
ErrorLog file-path|syslog[:facility] logs/error_log (Uni +svC
Location where the server will log errors
ExamplesvdhX
Demonstration directive to illustrate the Apache moduleAPI
ExpiresActive On|OffsvdhE
Enables generation of Expiresheaders
ExpiresByType MIME-type<code>secondssvdhE
Value of the Expires header configuredby MIME type
ExpiresDefault <code>secondssvdhE
Default algorithm for calculating expiration time
ExtendedStatus On|Off Off sB
Keep track of extended status information for each request
ExtFilterDefine filtername parameterssE
Define an external filter
ExtFilterOptions option [option] ... DebugLevel=0 NoLogS +dE
Configure mod_ext_filter options
FileETag component ... INode MTime Size svdhC
File attributes used to create the ETagHTTP response header
<Files filename> ... </Files>svdhC
Contains directives that apply to matchedfilenames
<FilesMatch regex> ... </FilesMatch>svdhC
Contains directives that apply to regular-expression matchedfilenames
FilterChain [+=-@!]filter-name ...svdhB
Configure the filter chain
FilterDeclare filter-name [type]svdhB
Declare a smart filter
FilterProtocol filter-name [provider-name] proto-flagssvdhB
Deal with correct HTTP protocol handling
FilterProvider filter-name provider-name [req|resp|env]=dispatch matchsvdhB
Register a content filter
FilterTrace filter-name levelsvdB
Get debug/diagnostic information from mod_filter
ForceLanguagePriority None|Prefer|Fallback [Prefer|Fallback] Prefer svdhB
Action to take if a single acceptable document is not found
ForceType MIME-type|NonedhC
Forces all matching files to be served with the specifiedMIME content-type
ForensicLog filename|pipesvE
Sets filename of the forensic log
GracefulShutDownTimeout secondssM
Specify a timeout after which a gracefully shutdown serverwill exit.
Group unix-group #-1 sM
Group under which the server will answerrequests
Header [condition] set|append|merge|add|unset|echo|editheader [value] [early|env=[!]variable]svdhE
Configure HTTP response headers
HeaderName filenamesvdhB
Name of the file that will be inserted at the topof the index listing
HostnameLookups On|Off|Double Off svdC
Enables DNS lookups on client IP addresses
IdentityCheck On|Off Off svdE
Enables logging of the RFC 1413 identity of the remoteuser
IdentityCheckTimeout seconds 30 svdE
Determines the timeout duration for ident requests
<IfDefine [!]parameter-name> ... </IfDefine>svdhC
Encloses directives that will be processed onlyif a test is true at startup
<IfModule [!]module-file|module-identifier> ... </IfModule>svdhC
Encloses directives that are processed conditional on thepresence or absence of a specific module
<IfVersion [[!]operator] version> ...</IfVersion>svdhE
contains version dependent configuration
ImapBase map|referer|URL http://servername/ svdhB
Default base for imagemap files
ImapDefault error|nocontent|map|referer|URL nocontent svdhB
Default action when an imagemap is called with coordinatesthat are not explicitly mapped
ImapMenu none|formatted|semiformatted|unformattedsvdhB
Action if no coordinates are given when callingan imagemap
Include file-path|directory-pathsvdC
Includes other configuration files from withinthe server configuration files
IndexHeadInsert "markup ..."svdhB
Inserts text in the HEAD section of an index page.
IndexIgnore file [file] ...svdhB
Adds to the list of files to hide when listinga directory
IndexOptions [+|-]option [[+|-]option]...svdhB
Various configuration settings for directoryindexing
IndexOrderDefault Ascending|DescendingName|Date|Size|Description Ascending Name svdhB
Sets the default ordering of the directory index
IndexStyleSheet url-pathsvdhB
Adds a CSS stylesheet to the directory index
ISAPIAppendLogToErrors on|off off svdhB
Record HSE_APPEND_LOG_PARAMETER requests fromISAPI extensions to the error log
ISAPIAppendLogToQuery on|off on svdhB
Record HSE_APPEND_LOG_PARAMETER requests fromISAPI extensions to the query field
ISAPICacheFile file-path [file-path]...svB
ISAPI .dll files to be loaded at startup
ISAPIFakeAsync on|off off svdhB
Fake asynchronous support for ISAPI callbacks
ISAPILogNotSupported on|off off svdhB
Log unsupported feature requests from ISAPIextensions
ISAPIReadAheadBuffer size 49152 svdhB
Size of the Read Ahead Buffer sent to ISAPIextensions
KeepAlive On|Off On svC
Enables HTTP persistent connections
KeepAliveTimeout seconds 5 svC
Amount of time the server will wait for subsequentrequests on a persistent connection
LanguagePriority MIME-lang [MIME-lang]...svdhB
The precendence of language variants for cases wherethe client does not express a preference
LDAPCacheEntries number 1024 sE
Maximum number of entries in the primary LDAP cache
LDAPCacheTTL seconds 600 sE
Time that cached items remain valid
LDAPConnectionTimeout secondssE
Specifies the socket connection timeout in seconds
LDAPOpCacheEntries number 1024 sE
Number of entries used to cache LDAP compare operations
LDAPOpCacheTTL seconds 600 sE
Time that entries in the operation cache remainvalid
LDAPSharedCacheFile directory-path/filenamesE
Sets the shared memory cache file
LDAPSharedCacheSize bytes 102400 sE
Size in bytes of the shared-memory cache
LDAPTrustedClientCert type directory-path/filename/nickname [password]svdhE
Sets the file containing or nickname referring to a perconnection client certificate. Not all LDAP toolkits support perconnection client certificates.
LDAPTrustedGlobalCert type directory-path/filename [password]sE
Sets the file or database containing global trustedCertificate Authority or global client certificates
LDAPTrustedMode typesvE
Specifies the SSL/TLS mode to be used when connecting to an LDAP server.
LDAPVerifyServerCert On|Off On sE
Force server certificate verification
<Limit method [method] ... > ... </Limit>svdhC
Restrict enclosed access controls to only certain HTTPmethods
<LimitExcept method [method] ... > ... </LimitExcept>svdhC
Restrict access controls to all HTTP methodsexcept the named ones
LimitInternalRecursion number [number] 10 svC
Determine maximum number of internal redirects and nestedsubrequests
LimitRequestBody bytes 0 svdhC
Restricts the total size of the HTTP request body sentfrom the client
LimitRequestFields number 100 sC
Limits the number of HTTP request header fields thatwill be accepted from the client
LimitRequestFieldSize bytes 8190 sC
Limits the size of the HTTP request header allowed from theclient
LimitRequestLine bytes 8190 sC
Limit the size of the HTTP request line that will be acceptedfrom the client
LimitXMLRequestBody bytes 1000000 svdhC
Limits the size of an XML-based request body
Listen [IP-address:]portnumber [protocol]sM
IP addresses and ports that the serverlistens to
ListenBacklog backlogsM
Maximum length of the queue of pending connections
LoadFile filename [filename] ...sE
Link in the named object file or library
LoadModule module filenamesE
Links in the object file or library, and adds to the listof active modules
<Location URL-path|URL> ... </Location>svC
Applies the enclosed directives only to matchingURLs
<LocationMatch regex> ... </LocationMatch>svC
Applies the enclosed directives only to regular-expressionmatching URLs
LockFile filename logs/accept.lock sM
Location of the accept serialization lock file
LogFormat format|nickname[nickname] "%h %l %u %t "%r" +svB
Describes a format for use in a log file
LogLevel level warn svC
Controls the verbosity of the ErrorLog
MaxClients numbersM
Maximum number of connections that will be processedsimultaneously
MaxKeepAliveRequests number 100 svC
Number of requests allowed on a persistentconnection
MaxMemFree KBytes 0 sM
Maximum amount of memory that the main allocator is allowedto hold without calling free()
MaxRequestsPerChild number 10000 sM
Limit on the number of requests that an individual child serverwill handle during its life
MaxRequestsPerThread number 0 sM
Limit on the number of requests that an individual threadwill handle during its life
MaxSpareServers number 10 sM
Maximum number of idle child server processes
MaxSpareThreads numbersM
Maximum number of idle threads
MaxThreads number 2048 sM
Set the maximum number of worker threads
MCacheMaxObjectCount value 1009 sE
The maximum number of objects allowed to be placed in thecache
MCacheMaxObjectSize bytes 10000 sE
The maximum size (in bytes) of a document allowed in thecache
MCacheMaxStreamingBuffer size_in_bytes the smaller of 1000 +sE
Maximum amount of a streamed response to buffer in memorybefore declaring the response uncacheable
MCacheMinObjectSize bytes 1 sE
The minimum size (in bytes) of a document to be allowed in thecache
MCacheRemovalAlgorithm LRU|GDSF GDSF sE
The algorithm used to select documents for removal from thecache
MCacheSize KBytes 100 sE
The maximum amount of memory used by the cache inKBytes
MetaDir directory .web svdhE
Name of the directory to find CERN-style meta informationfiles
MetaFiles on|off off svdhE
Activates CERN meta-file processing
MetaSuffix suffix .meta svdhE
File name suffix for the file containg CERN-stylemeta information
MimeMagicFile file-pathsvE
Enable MIME-type determination based on file contentsusing the specified magic file
MinSpareServers number 5 sM
Minimum number of idle child server processes
MinSpareThreads numbersM
Minimum number of idle threads available to handle requestspikes
MMapFile file-path [file-path] ...sX
Map a list of files into memory at startup time
ModMimeUsePathInfo On|Off Off dB
Tells mod_mime to treat path_infocomponents as part of the filename
MultiviewsMatch Any|NegotiatedOnly|Filters|Handlers[Handlers|Filters] NegotiatedOnly svdhB
The types of files that will be included when searching fora matching file with MultiViews
NameVirtualHost addr[:port]sC
Designates an IP address for name-virtualhosting
NoProxy host [host] ...svE
Hosts, domains, or networks that will be connected todirectly
NWSSLTrustedCerts filename [filename] ...sB
List of additional client certificates
NWSSLUpgradeable [IP-address:]portnumbersB
Allows a connection to be upgraded to an SSL connection upon request
Options [+|-]option [[+|-]option] ... All svdhC
Configures what features are available in a particulardirectory
Order ordering Deny,Allow dhB
Controls the default access state and the order in whichAllow and Deny areevaluated.
PassEnv env-variable [env-variable]...svdhB
Passes environment variables from the shell
PidFile filename logs/httpd.pid sM
File where the server records the process IDof the daemon
ProtocolEcho On|Off Off svX
Turn the echo server on or off
<Proxy wildcard-url> ...</Proxy>svE
Container for directives applied to proxied resources
ProxyBadHeader IsError|Ignore|StartBody IsError svE
Determines how to handle bad header lines in aresponse
ProxyBlock *|word|host|domain[word|host|domain] ...svE
Words, hosts, or domains that are banned from beingproxied
ProxyDomain DomainsvE
Default domain name for proxied requests
ProxyErrorOverride On|Off Off svE
Override error pages for proxied content
ProxyFtpDirCharset character set ISO-8859-1 svdE
Define the character set for proxied FTP listings
ProxyIOBufferSize bytes 8192 svE
Determine size of internal data throughput buffer
<ProxyMatch regex> ...</ProxyMatch>svE
Container for directives applied to regular-expression-matched proxied resources
ProxyMaxForwards number -1 svE
Maximium number of proxies that a request can be forwardedthrough
ProxyPass [path] !|url [key=valuekey=value ...]] [nocanon] [interpolate]svdE
Maps remote servers into the local server URL-space
ProxyPassInterpolateEnv On|Off Off svdE
Enable Environment Variable interpolation in Reverse Proxy configurations
ProxyPassMatch [regex] !|url [key=value[key=value ...]]svdE
Maps remote servers into the local server URL-space using regular expressions
ProxyPassReverse [path] url[interpolate]svdE
Adjusts the URL in HTTP response headers sent from a reverseproxied server
ProxyPassReverseCookieDomain internal-domainpublic-domain [interpolate]svdE
Adjusts the Domain string in Set-Cookie headers from a reverse-proxied server
ProxyPassReverseCookiePath internal-pathpublic-path [interpolate]svdE
Adjusts the Path string in Set-Cookie headers from a reverse-proxied server
ProxyPreserveHost On|Off Off svE
Use incoming Host HTTP request header for proxyrequest
ProxyReceiveBufferSize bytes 0 svE
Network buffer size for proxied HTTP and FTPconnections
ProxyRemote match remote-serversvE
Remote proxy used to handle certain requests
ProxyRemoteMatch regex remote-serversvE
Remote proxy used to handle requests matched by regularexpressions
ProxyRequests On|Off Off svE
Enables forward (standard) proxy requests
ProxySCGIInternalRedirect On|Off On svdE
Enable or disable internal redirect responses from thebackend
ProxySCGISendfile On|Off|Headername Off svdE
Enable evaluation of X-Sendfile pseudo responseheader
ProxySet url key=value [key=value ...]dE
Set various Proxy balancer or member parameters
ProxyStatus Off|On|Full Off svE
Show Proxy LoadBalancer status in mod_status
ProxyTimeout secondssvE
Network timeout for proxied requests
ProxyVia On|Off|Full|Block Off svE
Information provided in the Via HTTP responseheader for proxied requests
ReadmeName filenamesvdhB
Name of the file that will be inserted at the endof the index listing
ReceiveBufferSize bytes 0 sM
TCP receive buffer size
Redirect [status] URL-pathURLsvdhB
Sends an external redirect asking the client to fetcha different URL
RedirectMatch [status] regexURLsvdhB
Sends an external redirect based on a regular expression matchof the current URL
RedirectPermanent URL-path URLsvdhB
Sends an external permanent redirect asking the client to fetcha different URL
RedirectTemp URL-path URLsvdhB
Sends an external temporary redirect asking the client to fetcha different URL
RemoveCharset extension [extension]...vdhB
Removes any character set associations for a set of fileextensions
RemoveEncoding extension [extension]...vdhB
Removes any content encoding associations for a set of fileextensions
RemoveHandler extension [extension]...vdhB
Removes any handler associations for a set of fileextensions
RemoveInputFilter extension [extension]...vdhB
Removes any input filter associations for a set of fileextensions
RemoveLanguage extension [extension]...vdhB
Removes any language associations for a set of fileextensions
RemoveOutputFilter extension [extension]...vdhB
Removes any output filter associations for a set of fileextensions
RemoveType extension [extension]...vdhB
Removes any content type associations for a set of fileextensions
RequestHeader set|append|merge|add|unset|edit header[value] [replacement] [early|env=[!]variable]svdhE
Configure HTTP request headers
Require entity-name [entity-name] ...dhC
Selects which authenticated users can accessa resource
RewriteBase URL-pathdhE
Sets the base URL for per-directory rewrites
RewriteCond TestString CondPatternsvdhE
Defines a condition under which rewriting will take place
RewriteEngine on|off off svdhE
Enables or disables runtime rewriting engine
RewriteLock file-pathsE
Sets the name of the lock file used for RewriteMapsynchronization
RewriteLog file-pathsvE
Sets the name of the file used for logging rewrite engineprocessing
RewriteLogLevel Level 0 svE
Sets the verbosity of the log file used by the rewriteengine
RewriteMap MapName MapType:MapSourcesvE
Defines a mapping function for key-lookup
RewriteOptions OptionssvdhE
Sets some special options for the rewrite engine
RewriteRule Pattern Substitution [flags]svdhE
Defines rules for the rewriting engine
RLimitCPU seconds|max [seconds|max]svdhC
Limits the CPU consumption of processes launchedby Apache children
RLimitMEM bytes|max [bytes|max]svdhC
Limits the memory consumption of processes launchedby Apache children
RLimitNPROC number|max [number|max]svdhC
Limits the number of processes that can be launched byprocesses launched by Apache children
Satisfy Any|All All dhC
Interaction between host-level access control anduser authentication
ScoreBoardFile file-path logs/apache_status sM
Location of the file used to store coordination data forthe child processes
Script method cgi-scriptsvdB
Activates a CGI script for a particular requestmethod.
ScriptAlias URL-pathfile-path|directory-pathsvB
Maps a URL to a filesystem location and designates thetarget as a CGI script
ScriptAliasMatch regexfile-path|directory-pathsvB
Maps a URL to a filesystem location using a regular expressionand designates the target as a CGI script
ScriptInterpreterSource Registry|Registry-Strict|Script Script svdhC
Technique for locating the interpreter for CGIscripts
ScriptLog file-pathsvB
Location of the CGI script error logfile
ScriptLogBuffer bytes 1024 svB
Maximum amount of PUT or POST requests that will be recordedin the scriptlog
ScriptLogLength bytes 10385760 svB
Size limit of the CGI script logfile
ScriptSock file-path logs/cgisock sB
The filename prefix of the socket to use for communication withthe cgi daemon
SecureListen [IP-address:]portnumberCertificate-Name [MUTUAL]sB
Enables SSL encryption for the specified port
SeeRequestTail On|Off Off sB
Determine if mod_status displays the first 63 charactersof a request or the last 63, assuming the request itself is greater than63 chars.
SendBufferSize bytes 0 sM
TCP buffer size
ServerAdmin email-address|URLsvC
Email address that the server includes in errormessages sent to the client
ServerAlias hostname [hostname] ...vC
Alternate names for a host used when matching requeststo name-virtual hosts
ServerLimit numbersM
Upper limit on configurable number of processes
ServerName [scheme://]fully-qualified-domain-name[:port]svC
Hostname and port that the server uses to identifyitself
ServerPath URL-pathvC
Legacy URL pathname for a name-based virtual host thatis accessed by an incompatible browser
ServerRoot directory-path /usr/local/apache sC
Base directory for the server installation
ServerSignature On|Off|EMail Off svdhC
Configures the footer on server-generated documents
ServerTokens Major|Minor|Min[imal]|Prod[uctOnly]|OS|Full Full sC
Configures the Server HTTP responseheader
SetEnv env-variable valuesvdhB
Sets environment variables
SetEnvIf attribute regex [!]env-variable[=value] [[!]env-variable[=value]] ...svdhB
Sets environment variables based on attributes of the request
SetEnvIfNoCase attribute regex [!]env-variable[=value] [[!]env-variable[=value]] ...svdhB
Sets environment variables based on attributes of the requestwithout respect to case
SetHandler handler-name|NonesvdhC
Forces all matching files to be processed by ahandler
SetInputFilter filter[;filter...]svdhC
Sets the filters that will process client requests and POSTinput
SetOutputFilter filter[;filter...]svdhC
Sets the filters that will process responses from theserver
SSIEnableAccess on|off off dhB
Enable the -A flag during conditional flow control processing.
SSIEndTag tag "-->" svB
String that ends an include element
SSIErrorMsg message "[an error occurred +svdhB
Error message displayed when there is an SSIerror
SSIStartTag tag "<!--#" svB
String that starts an include element
SSITimeFormat formatstring "%A, %d-%b-%Y %H:%M +svdhB
Configures the format in which date strings aredisplayed
SSIUndefinedEcho string "(none)" svdhB
String displayed when an unset variable is echoed
SSLCACertificateFile file-pathsvE
File of concatenated PEM-encoded CA Certificates for Client Auth
SSLCACertificatePath directory-pathsvE
Directory of PEM-encoded CA Certificates for Client Auth
SSLCADNRequestFile file-pathsvE
File of concatenated PEM-encoded CA Certificates for defining acceptable CA names
SSLCADNRequestPath directory-pathsvE
Directory of PEM-encoded CA Certificates for defining acceptable CA names
SSLCARevocationFile file-pathsvE
File of concatenated PEM-encoded CA CRLs for Client Auth
SSLCARevocationPath directory-pathsvE
Directory of PEM-encoded CA CRLs for Client Auth
SSLCertificateChainFile file-pathsvE
File of PEM-encoded Server CA Certificates
SSLCertificateFile file-pathsvE
Server PEM-encoded X.509 Certificate file
SSLCertificateKeyFile file-pathsvE
Server PEM-encoded Private Key file
SSLCipherSuite cipher-spec ALL:!ADH:RC4+RSA:+H +svdhE
Cipher Suite available for negotiation in SSL handshake
SSLCryptoDevice engine builtin sE
Enable use of a cryptographic hardware accelerator
SSLEngine on|off|optional off svE
SSL Engine Operation Switch
SSLHonorCiperOrder flagsvE
Option to prefer the server's cipher preference order
SSLMutex type none sE
Semaphore for internal mutual exclusion of operations
SSLOptions [+|-]option ...svdhE
Configure various SSL engine run-time options
SSLPassPhraseDialog type builtin sE
Type of pass phrase dialog for encrypted private keys
SSLProtocol [+|-]protocol ... all svE
Configure usable SSL protocol flavors
SSLProxyCACertificateFile file-pathsvE
File of concatenated PEM-encoded CA Certificates for Remote Server Auth
SSLProxyCACertificatePath directory-pathsvE
Directory of PEM-encoded CA Certificates for Remote Server Auth
SSLProxyCARevocationFile file-pathsvE
File of concatenated PEM-encoded CA CRLs for Remote Server Auth
SSLProxyCARevocationPath directory-pathsvE
Directory of PEM-encoded CA CRLs for Remote Server Auth
SSLProxyCheckPeerCN on|off off svE
Whether to check the remote server certificates CN field
SSLProxyCheckPeerExpire on|off off svE
Whether to check if remote server certificate is expired
SSLProxyCipherSuite cipher-spec ALL:!ADH:RC4+RSA:+H +svdhE
Cipher Suite available for negotiation in SSL proxy handshake
SSLProxyEngine on|off off svE
SSL Proxy Engine Operation Switch
SSLProxyMachineCertificateFile filenamesE
File of concatenated PEM-encoded client certificates and keys to be used by the proxy
SSLProxyMachineCertificatePath directorysE
Directory of PEM-encoded client certificates and keys to be used by the proxy
SSLProxyProtocol [+|-]protocol ... all svE
Configure usable SSL protocol flavors for proxy usage
SSLProxyVerify level none svdhE
Type of remote server Certificate verification
SSLProxyVerifyDepth number 1 svdhE
Maximum depth of CA Certificates in Remote ServerCertificate verification
SSLRandomSeed context source [bytes]sE
Pseudo Random Number Generator (PRNG) seeding source
SSLRenegBufferSize bytes 131072 dhE
Set the size for the SSL renegotiation buffer
SSLRequire expressiondhE
Allow access only when an arbitrarily complex boolean expression is true
SSLRequireSSLdhE
Deny access when SSL is not used for the HTTP request
SSLSessionCache type none sE
Type of the global/inter-process SSL Session Cache
SSLSessionCacheTimeout seconds 300 svE
Number of seconds before an SSL session expiresin the Session Cache
SSLStrictSNIVHostCheck on|off off svE
Whether to allow non SNI clients to access a name based virtualhost.
SSLUserName varnamesdhE
Variable name to determine user name
SSLVerifyClient level none svdhE
Type of Client Certificate verification
SSLVerifyDepth number 1 svdhE
Maximum depth of CA Certificates in Client Certificate verification
StartServers numbersM
Number of child server processes created at startup
StartThreads numbersM
Number of threads created on startup
Substitute s/pattern/substitution/[infq]dhE
Pattern to filter the response content
SuexecUserGroup User GroupsvE
User and group for CGI programs to run as
ThreadLimit numbersM
Sets the upper limit on the configurable number of threadsper child process
ThreadsPerChild numbersM
Number of threads created by each child process
ThreadStackSize sizesM
The size in bytes of the stack used by threads handling client connections
TimeOut seconds 300 svC
Amount of time the server will wait forcertain events before failing a request
TraceEnable [on|off|extended] on sC
Determines the behaviour on TRACErequests
TransferLog file|pipesvB
Specify location of a log file
TypesConfig file-path conf/mime.types sB
The location of the mime.types file
UnsetEnv env-variable [env-variable]...svdhB
Removes variables from the environment
UseCanonicalName On|Off|DNS Off svdC
Configures how the server determines its own name andport
UseCanonicalPhysicalPort On|Off Off svdC
Configures how the server determines its own name andport
User unix-userid #-1 sM
The userid under which the server will answerrequests
UserDir directory-filename [directory-filename] ...svB
Location of the user-specific directories
VirtualDocumentRoot interpolated-directory|none none svE
Dynamically configure the location of the document rootfor a given virtual host
VirtualDocumentRootIP interpolated-directory|none none svE
Dynamically configure the location of the document rootfor a given virtual host
<VirtualHost addr[:port] [addr[:port]] ...> ... </VirtualHost>sC
Contains directives that apply only to a specifichostname or IP address
VirtualScriptAlias interpolated-directory|none none svE
Dynamically configure the location of the CGI directory fora given virtual host
VirtualScriptAliasIP interpolated-directory|none none svE
Dynamically configure the location of the cgi directory fora given virtual host
Win32DisableAcceptExsM
Use accept() rather than AcceptEx() to accept network connections
XBitHack on|off|full off svdhB
Parse SSI directives in files with the execute bitset
 
Copyright © 2009 The Apache Software Foundation         » Licensed under the Apache License, Version 2.0
(Sebelumnya) Directive index - Run-time Con ...Compiling and Installing Apache (Berikutnya)