apache2modactions
March 17, 2026 ยท View on GitHub
Manages the Apache mod_actions configuration file.
Actions
| Action | Description |
|---|---|
| :create | Create the configuration. |
Properties
| Name | Type | Default | Description |
|---|---|---|---|
| actions | Hash | {} | 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