]> git.sesse.net Git - itkacl/blob - itkacl-web-1.0/include/config.pm
Release a new version of the Apache module, with the context support.
[itkacl] / itkacl-web-1.0 / include / config.pm
1 #! /usr/bin/perl
2
3 #
4 # ITKACL web interface: Default configuration file.
5 # Set your local configuration in config.local.pm instead of editing this file.
6 #
7
8 use strict;
9 use warnings;
10
11 package itkaclconfig;
12
13 # Header/footer-files, for skinning.
14 our $header = "header.html";
15 our $footer = "footer.html";
16
17 # Quote script. If you don't want quote-replacement, don't set it.
18 our $quotescript = undef;
19
20 # Database information. You will need to supply this yourself.
21 our $db_host = "localhost";
22 our $db_name = "itkacl";
23 our $db_user = "itkacl-web";
24 our $db_pass = undef;
25
26 our $sessiondb_host = "localhost";
27 our $sessiondb_name = "itkacl-sessions";
28 our $sessiondb_user = "itkacl-web";
29 our $sessiondb_pass = undef;
30
31 # Pick any random, secret string. E.g., the output of:
32 # dd if=/dev/urandom bs=32 count=1 | hexdump
33 our $hmac_key = undef;
34
35 # Local configuration overrides defaults.
36 eval {
37         require 'config.local.pm';
38 };
39
40 1;