Apache - Module

Card Puncher Data Processing


A module is handler (plugin) to the apache server



They are in the modules directory and can be loaded with the LoadModule command in the conf file.


LoadModule rewrite_module modules/mod_rewrite.so
LoadModule headers_module modules/mod_headers.so



To list all modules, execute the following httpd command

httpd -M

Example of output:

Loaded Modules:
 core_module (static)
 win32_module (static)
 mpm_winnt_module (static)
 http_module (static)
 so_module (static)
 actions_module (shared)
 alias_module (shared)
 allowmethods_module (shared)
 asis_module (shared)
 auth_basic_module (shared)
 authn_core_module (shared)
 authn_file_module (shared)
 authz_core_module (shared)
 authz_groupfile_module (shared)
 authz_host_module (shared)
 authz_user_module (shared)
 autoindex_module (shared)
 cgi_module (shared)
 dir_module (shared)
 env_module (shared)
 include_module (shared)
 isapi_module (shared)
 log_config_module (shared)
 mime_module (shared)
 negotiation_module (shared)
 setenvif_module (shared)
 rewrite_module (shared)
 php7_module (shared)



Discover More
Card Puncher Data Processing
Apache - HTTP Header (mod_header module)

mod_header is a apache module that permits to set HTTP header. If you add the below code snippet in your htaccess file, you will set the following response header the cache-control header and...
Card Puncher Data Processing
Apache - Installation of a Private Key and Certificate (mod_ssl)

mod_ssl A private key and a certificate. For a self signed certificate, see When Apache with mod_ssl is installed, it creates several directories in the Apache config directory. Copy the...
Card Puncher Data Processing
Apache - Proxy (mod_proxy)

mod_proxy module. Apache HTTP Server can be configured in both: a forward and reverse proxy (also known as gateway) mode.
Card Puncher Data Processing
Apache - URL Rewrite (mod_rewrite)

URL rewrite in Apache is done through the rewrite module. The rules are set in the htaccess file This module operates on the full URLs (including the path-info part) both: in per-server context (httpd.conf)...
Cors Flowchart
Browser - Cross Origin Resource Sharing (CORS)

Cross-origin resource sharing (CORS) is a mechanism that: * allows a HTTP server * to control the cross-origin requests executed by a browser. In short, a HTTP server may allow or not to receive...
Card Puncher Data Processing
How to enable CORS on a Apacher Web Server?

This article shows you how to enable CORS for an Apache Web Server To configure cors on a Apache server, you may do it: in a file or via the module. in the Apache configuration file...

Share this page:
Follow us:
Task Runner