Changes between Version 1 and Version 2 of Bookmarks Project/Authentication
- Timestamp:
- 02/18/16 23:17:40 (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Bookmarks Project/Authentication
v1 v2 7 7 # default realm is "Bookmarks"; uncomment and change if you want to use something different 8 8 #realm: Bookmarks 9 digest_key: secret10 9 }}} 11 12 Replace the `digest_key` "secret" with an appropriately random string. This is the secret that is used to generate the digest nonce; see [perldoc:Plack::Middleware::Auth::Digest] for more info.13 10 14 11 The `htdigest` file can be created using the `htdigest` utility: … … 19 16 20 17 The `htdigest` utility comes with the Apache webserver, or in the `apache2-utils` package if you don't have the full Apache and don't want to install it. The realm you use in the digest file ''must'' match the `realm` configuration setting ("Bookmarks" by default). See the [https://httpd.apache.org/docs/2.2/programs/htdigest.html Apache docs] for more info. 18 19 == Configuration Setting Reference == 20 21 auth:: Set to a true value to enable authentication on non-GET requests. 22 htdigest:: Path to the htdigest credentials file. Relative paths are interpreted relative to the `server_root` location. Required if `auth` is set. 23 digest_key:: ''(Optional)'' Secret used during digest authentication. If not provided, one is generated at server startup using [perldoc:Bytes::Random::Secure].