forked from bricoleurs/bricolage
/
bricolage.tmp.conf.in
142 lines (128 loc) · 7.85 KB
/
bricolage.tmp.conf.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
# Apache Settings. APACHE_BIN is the location of the Apache server executable,
# and APACHE_CONF is the location of the Apache configuration file. LISTEN_PORT
# is equivalent to the Apache Listen directive, and must agree with the Listen
# setting in the Apache configuration file specified in APACHE_CONF. SSL_ENABLE
# turns on SSL support. Note that if SSL_ENABLE is turned on, then LISTEN_PORT
# *must* be 80, or else Bricolage will not start. VHOST is the Virtual host name
# under which Bricolage should run.
APACHE_BIN = %APACHE%
APACHE_CONF = %APACHE_CONF%
LISTEN_PORT = 80
SSL_ENABLE = %HAVE_SSL%
NAME_VHOST = *
VHOST_SERVER_NAME = %HOSTNAME%
# System User settings. These are the names of the system user and group under
# which Apache and Mason run. Default to 'nobody' and 'nobody' if not specified.
SYS_USER = %APACHE_USER%
SYS_GROUP = %APACHE_GROUP%
# Database settings. These are simply the name of the database in which all
# Bricolage data will be stored, as well as the username and password the
# application can use to access that data. DB_NAME defaults to 'sharky',
# DBI_USER defaults to 'castellan', and DBI_PASS defaults to 'nalletsac'.
DB_NAME = %DB_NAME%
DBI_USER = %DBI_USER%
DBI_PASS = %DBI_PASS%
# Mason settings. These specify the location of the Bricolage UI Mason
# components. The defaults are the $BRICOLAGE_ROOT/comp for MASON_COMP_ROOT and
# $BRICOLAGE_ROOT/data for MASON_DATA_ROOT, where $BRICOLAGE_ROOT is an
# environment variable set before starting the application. $BRICOLAGE_ROOT
# defaults to '/usr/local/bricolage' if it's not set, so if you have Bricolage
# installed in a different location, be sure to set the BRICOLAGE_ROOT
# environment variable before you do anything! Also be sure that these
# directories exist on the file system and that SYS_USER specified above has
# permission to write to them.
MASON_COMP_ROOT = %compdir%
MASON_DATA_ROOT = %datadir%
# Burner settings. The BURN_ROOT directive specifies the location of Bricolage
# templates and the files output upon publishing or previewing content. The
# default is MASON_DATA_ROOT/burn. The INCLUDE_XML_WRITER directive causes the
# Bricolage burn system to create and include an XML::Writer object as a global
# in the template name space. The default is not to include the XML::Writer
# object. The XML_WRITER_ARGS directive passes arguments to the instantiation of
# the XML::Writer object, should INCLUDE_XML_WRITER be switched on. All the
# arguments specified by the XML::Writer documentation for the new() method may
# be used except the OUTPUT argument, which Bricolage handles so that the output
# is sent to the same place as template Mason code sends its content. Defaults
# to no arguments if unspecified.
BURN_ROOT = %datadir%/burn
INCLUDE_XML_WRITER = No
#XML_WRITER_ARGS = NEWLINES => 1, UNSAFE => 1, DATA_MODE => 1, DATA_INDENT => 4
# Authentication settings. AUTH_TTL is the amount of time, in seconds, a user is
# allowed to be idle before he/she is automatically logged out. The default is 8
# hours (28800 seconds). AUTH_SECRET is a random string that's used to encrypt
# the authentication cookie information in a double-MD5 hashing scheme. It's a
# good idea to change this value periodically so that anyone who might have seen
# it before can't reverse-engineer the authentication cookie.
AUTH_TTL = 28800 # Seconds.
AUTH_SECRET = ^eFH5D,~3!f9o&3f_=dwePL3f:/.Oi|FG/3sd9=45oi%8GF*)4#0gn3)34tf\`3~fdIf^ N:
# Character translation settings. CHAR_SET is the character set of in which data
# will be passed to the API. ISO-8859-1 should work for most Western European
# users. Note that this setting is necessary as all data is stored in the
# database in Unicode. Defaults to ISO-8859-1 if not specified.
CHAR_SET = ISO-8859-1
# User login and password settings These settings specify the minimum length of
# a user login as well as the minimum lenght of a user password. Both default to
# '6' if they're not specified.
LOGIN_LENGTH = 4
PASSWD_LENGTH = 6
# Distribution settings. ENABLE_DIST, if set to 'yes' or 'on' or '1', tells the
# API that the distribution engine can distribute resources within the local
# application process. If ENABLE_DIST is any other value, it is assumed that the
# distribution Engine is running elsewhere. The default is '1' if ENABLE_DIST is
# unspecified. DIST_ATTEMPTS tells the distribution engine how many times to
# attempt to distribute a resource before giving up. The default is 3.
# PREVIEW_LOCAL tells Bricolage to preview stories from its own Apache process.
# If set to 'yes' or 'on' or '1', it will use its own process for previewing.
# Otherwise, it will use a server from a destination with the "Preview" checkbox
# checked for previews. If PREVIEW_LOCAL is active, you must be sure that
# SYS_USER has write access to MASON_COMP_ROOT/preview. The default is "1".
# PREVIEW_MASON tells Bricolage to use Mason for local previews. Only set this
# directive to true if the files you create with your Templates contain Mason
# code. This directive has no effect unless PREVIEW_LOCAL is active. The default
# is "0". DEF_MEDIA_TYPE designates the default media type for assets where
# Bricolage cannot ascertain the media type. Defaults to "text/html" if not
# specified.
ENABLE_DIST = 1
DIST_ATTEMPTS = 3
PREVIEW_LOCAL = 1
PREVIEW_MASON = 1
DEF_MEDIA_TYPE = 'text/html'
# Alert Settings. ALERT_FROM is the email address that will appear in the 'From'
# header of alerts emailed to users. ALERT_TO_METH specifieds which header to
# use for identifying alert recipients. Use 'to' if you want everyone who
# receives the same alert to see who else received it. Use 'bcc' if you don't
# want anyone to see who else got an alert, or if you just want to save the
# bandwidth. Defaults to 'bcc'.
ALERT_FROM = webmaster@someserver.foo.com
ALERT_TO_METH = bcc # Can also be 'to'
# SMTP setting. This is just the address for an SMTP server through which alerts
# can be sent.
#SMTP_SERVER = smtp.someserver.foo.com
# Full search setting. By default, Bricolage looks for search strings in the
# database only at the beginning of the fields. The reason for this is that, if
# it looks for the search string anywhere within the result fields, it cannot
# #use any database indexes, and therefore could be much slower. But it depends
# on #how many records there are. Set this configuration directive to "On" or
# "Yes" or #"1" if you wish to enable the slower subsearch approach -- if, for
# example, you don't have many records in your database.
FULL_SEARCH = Off
# Output Channel file naming settings. All files burned to the file system must
# be named (of course!), and they're named for the "File Name" and "File
# Extenstion" properties of the Output Channel they're getting burned to. You
# can give these properties whatever values you want (as long as they're legal
# on your file system!), but here you can set some defaults that all Output
# channels will start with. DEFAULT_FILENAME will default to 'index' and
# DEFAULT_FILE_EXT will default to 'html' if you don't set them here.
DEFAULT_FILENAME = index
DEFAULT_FILE_EXT = html
# Template loading. Add a line of arbitrary perl code to this directive, and
# that code will be executed at startup time in the context of your Templates.
# That is, if any of the code you add here exports functions, they'll be
# available in your templates.
#PERL_LOADER = use CGI; use Apache::DBI;
# FTP settings - see Bric::Admin for details
ENABLE_FTP_SERVER = Off
# FTP_ADDRESS = 127.0.0.1
# FTP_PORT = 2121
# FTP_DEBUG = 1
# FTP_LOG = /usr/local/bricolage/log/ftp.log