Are you looking to get certified in DevOps, SRE and DevSecOps?
Get Certified!
Ahead from others!
Security is Key
Tomorow's Platform!

Modules in Apache Web Server

Core Modules

  • New functions are in the form of modules.
  • Every module has their own directives
  • Easy to download,install and configure
  • Define modules, use their syntaxes to use that functions and ita ready to use

Core/mpm_common – Application Process handling configuration parameters

Directives of Core/ Common Modules

  • CoreDumpDirectory : Directory where Apache HTTP Server attempts to switch before dumping core
  • EnableExceptionHook : Enables a hook that runs exception handlers after a crash
  • GracefulShutdownTimeout : Specify a timeout after which a gracefully shutdown server will exit.
  • Listen : IP addresses and ports that the server listens to
  • ListenBacking : Maximum length of the queue of pending connections
  • ListenCoreBucketsRatio : Ratio between the numbewr of CPU cores (online) and the number of listners’ buckets
  • MaxConnectionPerChild : Limit on the number of connections that an individual child server will handle during its life
  • MaxMemFree : Maximum amount of memory that the main allocsator is allowed to hold without calling free()
  • MaxRequestWorkers : Maximum number of connections that will be processed simultaneously
  • MaxSpareThreads : Maximum number of idle threads
  • MinSpareThreads : Minimum number of idle threads available to handle request spikes
  • PidFile : File where the server records the process id of the daemon
  • ReceiveBufferSize : TCP recieve buffer size
  • ScoreBroardFile : Location of the file used to store connection data for the child processes
  • SendBufferSize : TCP buffer size
  • ServerLimit : Upper limit on configurable number of processes
  • StartServers : Number of child server processes created at startup
  • StartThreads : Number of threads created on startup
  • ThreadLimit : Sets the upper limit on the configurable number of threads per child process
  • ThreadsPerChild : Number of threads created by each child process
  • ThreadStackSize : The size in bytes of the stack used by threads handling client connections

Other Modules and their directives


  • Description : Provides for URL redirection and mapping different sections of the host disc in the document tree.
  • Status: Base
  • Module_Identifier:alias_module
  • Source File: mod_alias.c


  • Alias
  • AliasMatch
  • Redirect
  • RedirectMatch
  • RedirectPermanent
  • RedirectTemp
  • ScriptAlias
  • ScriptAliasMatch


  • Description : Using text files for user authentication
  • Status: Base
  • Module Identifier: authn_file_module
  • Source File: mod_authn_file.c


  • AuthUserFile


  • Description : Provides “trailing slash” redirects and directory index files for serving.
  • Status : Base
  • Module_identifiers : dir_module
  • source File : mod_dir.c


  • DirectoryCheckHandler
  • DirectoryIndex
  • directoryIndexRedirect
  • DirectorySlash
  • FallbackResource


  • Description: Requests made to the server are logged.
  • Module Identifier: log_config_module
  • Source File: mod_log_config.c


  • CustomLog
  • BufferedLogs
  • GlobalLog
  • TranferLog
  • LogFormat


  • Description: Provides macros in Apache httpd runtime configuration files to make the creation of several comparable configuration blocks easier. The macros are expanded using the specified parameters when the server starts up, and the result is processed in the same way as the rest of the configuration file.
  • Status: Base
  • Module Identifier: macro_module
  • Source File: mod_macro.c


  • Macro
  • UndefMacro
  • Use


  • Description: The mod proxy and related modules provide a proxy/gateway for Apache HTTP Server, supporting a variety of popular protocols and load balancing methods. Additional protocols and load balancing techniques can be added by third-party modules.
  • Status: Extension
  • Module Identifier: proxy_module
  • Source File: mod_proxy.c


  • NoProxy
  • Proxy100Continue
  • ProxyAddHeaders
  • ProxyBadHeader
  • ProxyBlock
  • ProxyDomain
  • ProxyErrorOverride
  • ProxyIOBufferSize
  • ProxyMatch
  • ProxyMaxForwards
  • Proxy
  • ProxyPassInherit
  • ProxyPassInterpolateEnv
  • ProxyRemoteMatch
  • ProxyRequests
  • ProxySet
  • ProxySourceAddress
  • ProxyTimeout
  • ProxyVia
  • ProxyPreserveHost
  • ProxyReceiveBufferSize
  • ProxyPassReverse
  • ProxyPassRewverseCookieDomain
  • ProxyPassReverseCookiePath
  • ProxyRemote
  • ProxyPassMatch
  • ProxyPass


  • Description: This module relies on the mod proxy service to perform load balancing for all protocols that are supported.
  • Status: Extension
  • Module Identifier: proxy_balancer_module
  • Source File: mod_proxy_balancer.c


  • BalancerGrowth
  • BalancerInherit
  • BalancerPersist
  • BalanceMember


  • Description: The mod rewrite module rewrites requested URLs on the fly using a rule-based rewriting engine based on a PCRE regular-expression parser. Mod rewrite converts a URL to a filesystem path by default. It can, however, be used to redirect a URL to another or to do an internal proxy fetch.
  • Status: Extension
  • Module Identifier: rewrite_module
  • Source File: mod_rewrite.c

Directives :

  • RewriteBase
  • RewriteCond
  • RewriteEngine
  • RewriteMap
  • RewriteOptions
  • RewriteRule


  • Description: Secure Sockets Layer (SSL) and Transport Layer Security (TLS) protocols provide strong cryptography.
  • Status: Extension
  • Module Identifier: ssl_module
  • Source File: mod_ssl.c


  • SSLCACertificateFile
  • SSLCACertificatePath
  • SSLCADNRequestFile
  • SSLCADNRequestPath
  • SSLCARevocationCheck
  • SSLRCARevocationPath
  • SSLCertificateChainFile
  • SSLCertificateFile
  • SSLCertificateKeyFile
  • SSLCipherSuite
  • SSLCryptoDevice
  • SSLEngine
  • SSLOCSPResponderCertificateFile
  • SSLOCSPResponseMaxAge
  • SSLHonorCipherOrder
  • SSLInsecureREnegotiation
  • SSLOCSDefaultResponder
  • SSLOCSPEnable
  • SSLOCSPNoverify
  • SSLCompression
  • SSLProtocol


  • Description: You can allow several users to host content within the same origin by utilising this module. A crucial principle of Javascript and online security is the same origin policy. Because web pages are hosted in the same origin, they can read and control one other, and security flaws on one page might influence the security of another. This is especially dangerous when it comes to web pages with dynamic content and authentication, as well as when your users don’t always trust one another.
  • Status: Base
  • Module Identifier: userdir_module
  • Source File: mod_userdir.c




  • Description: Allows for bulk virtual hosting with changeable configuration.
  • Status: Extension
  • Module Identifier: vhost_alias_module
  • Source File: mod_vhost_alias.c


  • VirtualDocumentRoot
  • VirtualDocumentRootIP
  • VirtualScriptAlias
  • VirtualScriptAliasIP
Rajesh Kumar
Follow me