werc Bringing minimalism and sanity to the web

Werc Configuration Options

You can also find a description of some basic config options in the etc/initrc file itself.

General Setup Options

Titles and Metadata


Sidebar and Navigation



HTTP Control



Access Control and Permissions

The permissions system is very flexible, for example to only allow access to members of the group ‘editors’ you can do something like:

switch ($req_path) {
case /_users/login
case /pub/*
case /robots.txt
case *
    if(! check_user editors)
            perm_redirect /_users/login

To automatically redirect users without permission to the login page if they are not members of the group ‘editors’.

See also the documentation on user and group management.

To post a comment you need to login first.