Apache Module: Lua


Last modified: March 12, 2024

Overview

This module provides Lua hooks for httpd request processing.

Usage

Use the mod_lua Apache module to extend your server with scripts in the Lua programming language.

Warning:

We strongly recommend that you do not use the mod_lua Apache module because it poses significant security risks.

Requirements

This module has no requirements.

Compatibility

This module has no known compatibility issues.

How to install or uninstall mod_lua

To install the mod_lua Apache module in EasyApache 4, run the following command:

Operating SystemCommand
CentOS 7yum install ea-apache24-mod_lua
AlmaLinux OS and Rocky Linux™dnf install ea-apache24-mod_lua
Ubuntu®apt install --purge ea-apache24-mod-lua

Note:

EasyApache 4 disables the mod_lua Apache module by default. If you wish to enable this module, you must uncomment the LoadModule directive.

To uninstall the mod_lua Apache module in EasyApache 4, run the following command:

Operating SystemCommand
CentOS 7yum uninstall ea-apache24-mod_lua
AlmaLinux OS and Rocky Linux™dnf uninstall ea-apache24-mod_lua
Ubuntu®apt purge ea-apache24-mod-lua

Additional Documentation