apache2modactions

March 17, 2026 ยท View on GitHub

Back to resource list

Manages the Apache mod_actions configuration file.

Actions

ActionDescription
:createCreate the configuration.

Properties

NameTypeDefaultDescription
actionsHash{}A hash of actions where key is the action-type and value is the cgi-script, e.g. { news-handler: '"/cgi-bin/news.cgi" virtual' }

Examples

apache2_mod_actions '' do
  actions({ 'image/gif' => '/cgi-bin/image.cgi' })
end