File

mod_readonly/README.md @ 6244:c71d8bc77c95

mod_rest: Skip unpacking error object when missing (thanks Martin) Not every "http-error" event includes a .error field, so it may attempt to unpack `nil`.
author Kim Alvefur <zash@zash.se>
date Tue, 22 Apr 2025 09:40:20 +0200
parent 6003:fe081789f7b5
line wrap: on
line source

This module blocks configured queries that change server state.

E.g. to make vCard storage read-only:

``` lua
readonly_stores = {
	vcard = { "vcard-temp", "vCard" };
}
```