Module support is available in Openlitespeed 1.3 and LSWS Enterprise 5.0 and greater. All required modules must be registered under the Server Modules Configuration tab. Module files must be located in the server root/modules folder to be available for registering. On start up, the server loads all registered modules. The server must be restarted after new modules are registered. Modules can be configured globally under the Server Module configuration tab. The configuration data is then available to the Listener and Virtual Host Module Configurations to inherit or modify.
Module | Is Internal | Module Parameters | Enable Hooks | Hook::L4_BEGINSESSION Priority | Hook::L4_ENDSESSION Priority | Hook::L4_RECVING Priority | Hook::L4_SENDING Priority | Hook::HTTP_BEGIN Priority | Hook::RECV_REQ_HEADER Priority | Hook::URI_MAP Priority | Hook::HTTP_AUTH Priority | Hook::RECV_REQ_BODY Priority | Hook::RCVD_REQ_BODY Priority | Hook::RECV_RESP_HEADER Priority | Hook::RECV_RESP_BODY Priority | Hook::RCVD_RESP_BODY Priority | Hook::HANDLER_RESTART Priority | Hook::SEND_RESP_HEADER Priority | Hook::SEND_RESP_BODY Priority | Hook::HTTP_END Priority | Hook::MAIN_INITED Priority | Hook::MAIN_PREFORK Priority | Hook::MAIN_POSTFORK Priority | Hook::WORKER_POSTFORK Priority | Hook::WORKER_ATEXIT Priority | Hook::MAIN_ATEXIT Priority |
URI | Module Parameters | Enable Hooks |
URI | Module | Extra Headers | Realm | 认证名称 | Require(授权的用户/组) | 允许访问列表 | 拒绝访问列表 | Authorizer | 添加默认的字符集 | 自定义默认字符集 | 启用IP地理定位 |
Description The Server module configuration globally defines the module configuration data. Once defined, the Listeners and Virtual Hosts have access to the modules and module configurations. |
Description Name of the module. The module name will be the same as the module filename. The module file must be located under $SERVER_ROOT/modules/modulename.so in order to be loaded by the server application. The server will load the registered modules at start up. This requires that the server is restarted after new modules are registered. |
Syntax the library name of .so. |
Description Specify whether the module is an internal module, which is staticaly linked, instead of being an external .so library. |
Syntax Select from radio box |
Description Set module parameters. The module parameters are defined by the module developer. |
Syntax Specified by the module interface. |
Description Enables or disables the module hooks globally. |
Syntax Select from radio box |
Description Sets the priority for this module callback within the L4 Begin Session Hook. |
Syntax Integer value from -6000 to 6000. Lower value means higher priority. |
Description Sets the priority for this module callback within the L4 End Session Hook. |
Syntax Integer value from -6000 to 6000. Lower value means higher priority. |
Description Sets the priority for this module callback within the L4 Receiving Hook. |
Syntax Integer value from -6000 to 6000. Lower value means higher priority. |
Description Sets the priority for this module callback within the L4 Sending Hook. |
Syntax Integer value from -6000 to 6000. Lower value means higher priority. |
Description Sets the priority for this module callback within the HTTP Begin Hook. |
Syntax Integer value from -6000 to 6000. Lower value means higher priority. |
Description Sets the priority for this module callback within the HTTP Receive Request Header Hook. |
Syntax Integer value from -6000 to 6000. Lower value means higher priority. |
Description Sets the priority for this module callback within the HTTP URI Map Hook. |
Syntax Integer value from -6000 to 6000. Lower value means higher priority. |
Description Sets the priority for this module callback within the HTTP Authentication Hook. |
Syntax Integer value from -6000 to 6000. Lower value means higher priority. |
Description Sets the priority for this module callback within the HTTP Receive Request Body Hook. |
Syntax Integer value from -6000 to 6000. Lower value means higher priority. |
Description Sets the priority for this module callback within the HTTP Received Request Body Hook. |
Syntax Integer value from -6000 to 6000. Lower value means higher priority. |
Description Sets the priority for this module callback within the HTTP Receive Response Header Hook. |
Syntax Integer value from -6000 to 6000. Lower value means higher priority. |
Description Sets the priority for this module callback within the HTTP Receive Response Body Hook. |
Syntax Integer value from -6000 to 6000. Lower value means higher priority. |
Description Sets the priority for this module callback within the HTTP Received Response Body Hook. |
Syntax Integer value from -6000 to 6000. Lower value means higher priority. |
Description Sets the priority for this module callback within the HTTP Handler Restart Hook. |
Syntax Integer value from -6000 to 6000. Lower value means higher priority. |
Description Sets the priority for this module callback within the HTTP Send Response Header Hook. |
Syntax Integer value from -6000 to 6000. Lower value means higher priority. |
Description Sets the priority for this module callback within the HTTP Send Response Body Hook. |
Syntax Integer value from -6000 to 6000. Lower value means higher priority. |
Description Sets the priority for this module callback within the HTTP Session End Hook. |
Syntax Integer value from -6000 to 6000. Lower value means higher priority. |
Description Sets the priority for this module callback within the Main Initialized Hook. |
Syntax Integer value from -6000 to 6000. Lower value means higher priority. |
Description Sets the priority for this module callback within the Main Prefork Hook. |
Syntax Integer value from -6000 to 6000. Lower value means higher priority. |
Description Sets the priority for this module callback within the Main Postfork Hook. |
Syntax Integer value from -6000 to 6000. Lower value means higher priority. |
Description Sets the priority for this module callback within the Worker Postfork Hook. |
Syntax Integer value from -6000 to 6000. Lower value means higher priority. |
Description Sets the priority for this module callback within the Worker At Exit Hook. |
Syntax Integer value from -6000 to 6000. Lower value means higher priority. |
Description Sets the priority for this module callback within the Main At Exit Hook. |
Syntax Integer value from -6000 to 6000. Lower value means higher priority. |
Description Listener module configuration data is, by default inherited from the Server module configuration. The Listener Modules are limited to the TCP/IP Layer 4 hooks. |
Description Enables or disables the module hooks at the Listener level. Only if the module has TCP/IP level hooks (L4_BEGSESSION, L4_ENDSESSION, L4_RECVING, L4_SENDING), this setting will take effect. |
Syntax Select from radio box |
Description Virtual Host module configuration data is, by default inherited from the Server module configuration. The Virtual Host Modules are limited to the HTTP level hooks. |
Description Enables or disables the module hooks at the Virtual Host or Context level. Only if the module has HTTP level hooks, this setting will take effect. |
Syntax Select from radio box |
Description It's a centralized place to customize module settings for virtual host contexts. Settings for a context URI will override the virtual host or the server level settings. |
Description Specifies the URI for this context. |
Syntax The URI can be a plain URI (starting with "/") or a Perl compatible regular expression URI (starting with "exp:"). If a plain URI ends with a "/", then this context will include all sub-URIs under this URI. If the context maps to a directory on the file system, a trailing "/" must be added. |
See Also |
Description A module handler context will associate a URI with a registered module. Modules need to be registered at Server Module Configuration tab. |
Description Name of the module. The module must be registered under the Server Module Configuration tab. Once it is registered, the module name will be available in the drop down box for the Listener and Virtual Host configurations. |
Syntax Select from drop down list |
Description Specifies extra response headers to be added. Multiple headers can be added, one header per line. Put "NONE" to disable headers inherited from parent content. |
Syntax "[HeaderName]: [HeaderValue]" in each line. |
Example Cache-control: no-cache, no-store |
Description 指定这个context下的realm授权。 当指定时,必须提供有效的用户和用户名来访问这个context。 Realms授权需要在Virtual Host Security部分进行设置。此设置使用每个realm的Realm名称。 |
Syntax 选项 |
Description 指定哪些用户/用户组可以访问此context。 这里允许你使用一个用户/组数据库(在 Realm中指定)访问多个context, 但只允许该数据库下特定的用户/组访问这个context。 |
Syntax 语法兼容Apache的Require指令。例如:
|
Description 指定允许访问这个context下资源的IP地址或子网。综合 拒绝访问列表项的配置以及服务器/虚拟主机级别访问控制, 可访问性将以客户端IP所符合的最小范围来确定。 |
Syntax 逗号分隔的IP地址/子网列表。 |
Example 子网络可以写成192.168.1.0/255.255.255.0, 192.168.1 或192.168.1.*。 |
Description 指定哪个IP地址或子网不被允许访问这个context下的资源。 综合允许访问列表项的配置以及服务器/虚拟主机级别访问控制, 可访问性将以客户端IP所符合的最小范围来确定。 |
Syntax 逗号分隔的IP地址/子网列表。 |
Example 子网络可以写成192.168.1.0/255.255.255.0, 192.168.1 或192.168.1.*。 |
Description Specifies an external application that can be used to generate authorized/unauthorized decisions. Currently, only the FastCGI Authorizer is available. For more details about the FastCGI Authorizer role, please visit http://www.fastcgi.com. |
Syntax Select from drop down list |
Description 指定当内容类型是"text/html"或"text/plain"且没有参数时,是否添加字符集标记到"Content-Type"响应报头中。当设置为Off时,该功能禁用。当设置为On时,将添加自定义默认字符集中指定的字符集,如果没有指定,将添加默认的"iso-8859-1"字符集。 |
Syntax 布尔值 |
Description 指定一个字符集当添加默认的字符集是On时使用。这是可选的。默认值是iso-8859-1。当添加默认的字符集是Off时本设置将不生效。 |
Syntax 字符集的名称,例如utf-8 |
Example utf-8 |