Dynamic Shared Object (DSO)

Dynamic Shared Object (DSO) Support The Apache HTTP Server is a modular program where the administrator can choose the functionality to include in the server by selecting a set of modules. Modules will be compiled as Dynamic Shared Objects (DSOs) that exist separately from the main httpd binary file. DSO modules may be compiled at the time the server is built, or they may be compiled and added at a later time using the Apache Extension Tool (apxs). Alternatively, the modules can be statically

mod_rewrite Technical Details

Apache mod_rewrite Technical Details This document discusses some of the technical details of mod_rewrite and URL matching. API Phases The Apache HTTP Server handles requests in several phases. At each of these phases, one or more modules may be called upon to handle that portion of the request lifecycle. Phases include things like URL-to-filename translation, authentication, authorization, content, and logging. (This is not an exhaustive list.) mod_rewrite acts in two of these phases (or

mod_negotiation

Apache Module mod_negotiation Description: Provides for content negotiation Status: Base ModuleIdentifier: negotiation_module SourceFile: mod_negotiation.c Summary Content negotiation, or more accurately content selection, is the selection of the document that best matches the clients capabilities, from one of several available documents. There are two implementations of this. A type map (a file with the handler type-map) which explicitly lists the files containing the variants. A Multiview

mod_isapi

Apache Module mod_isapi Description: ISAPI Extensions within Apache for Windows Status: Base ModuleIdentifier: isapi_module SourceFile: mod_isapi.c Compatibility: Win32 only Summary This module implements the Internet Server extension API. It allows Internet Server extensions (e.g. ISAPI .dll modules) to be served by Apache for Windows, subject to the noted restrictions. ISAPI extension modules (.dll files) are written by third parties. The Apache Group does not author these modules, so we p

Advanced Techniques with mod_rewrite

Advanced Techniques with mod_rewrite This document supplements the mod_rewrite reference documentation. It provides a few advanced techniques using mod_rewrite. Note that many of these examples won't work unchanged in your particular server configuration, so it's important that you understand them, rather than merely cutting and pasting the examples into your configuration. URL-based sharding across multiple backends Description: A common technique for distributing the burden of server lo

mod_ext_filter

Apache Module mod_ext_filter Description: Pass the response body through an external program before delivery to the client Status: Extension ModuleIdentifier: ext_filter_module SourceFile: mod_ext_filter.c Summary mod_ext_filter presents a simple and familiar programming model for filters. With this module, a program which reads from stdin and writes to stdout (i.e., a Unix-style filter command) can be a filter for Apache. This filtering mechanism is much slower than using a filter which is

mod_authz_dbd

Apache Module mod_authz_dbd Description: Group Authorization and Login using SQL Status: Extension ModuleIdentifier: authz_dbd_module SourceFile: mod_authz_dbd.c Compatibility: Available in Apache 2.4 and later Summary This module provides authorization capabilities so that authenticated users can be allowed or denied access to portions of the web site by group membership. Similar functionality is provided by mod_authz_groupfile and mod_authz_dbm, with the exception that this module queries

mod_socache_shmcb

Apache Module mod_socache_shmcb Description: shmcb based shared object cache provider. Status: Extension ModuleIdentifier: socache_shmcb_module SourceFile: mod_socache_shmcb.c Summary mod_socache_shmcb is a shared object cache provider which provides for creation and access to a cache backed by a high-performance cyclic buffer inside a shared memory segment. shmcb:/path/to/datafile(512000) Details of other shared object cache providers can be found here.

mod_macro

Apache Module mod_macro Description: Provides macros within apache httpd runtime configuration files Status: Base ModuleIdentifier: macro_module SourceFile: mod_macro.c Summary Provides macros within Apache httpd runtime configuration files, to ease the process of creating numerous similar configuration blocks. When the server starts up, the macros are expanded using the provided parameters, and the result is processed as along with the rest of the configuration file. Usage Macros are de

mod_echo

Apache Module mod_echo Description: A simple echo server to illustrate protocol modules Status: Experimental ModuleIdentifier: echo_module SourceFile: mod_echo.c Summary This module provides an example protocol module to illustrate the concept. It provides a simple echo server. Telnet to it and type stuff, and it will echo it. ProtocolEcho Directive Description: Turn the echo server on or off Syntax: ProtocolEcho On|Off Default: ProtocolEcho Off Context: server config, virtual host Statu