view mod_readonly/README.markdown @ 3981:7e8f2e36419d

mod_firewall: Use util.envload instead of deprecated loadstring (thanks Martin) loadstring was deprecated in Lua 5.2 and removed from in 5.3
author Kim Alvefur <zash@zash.se>
date Sun, 19 Apr 2020 23:37:13 +0200
parents ce5d1fa69ba3
children
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" };
}
```