#$Id$
#uncomment to collect debugging information
#debug=1
#uncomment to collect profiling information
#profile=1
#prefix=@PREFIX@
theme=DaPortal
icontheme=gnome
title=DaPortal

[defaults]
charset=utf-8
#locale=
#module=
#action=
#id=

#[defaults::date]
#format=%d/%m/%Y %H:%M:%S
#format::date=%d/%m/%Y
#format::datetime=%d/%m/%Y %H:%M:%S
#utc=0

#[defaults::email]
#from=

[engine]
#backend=cgi
#backend=cli
#backend=clihttp
#backend=clilog
#backend=dummy
#backend=email
#backend=gtk
#backend=http
#backend=httpfriendly

[auth]
#backend=env
#backend=http
#backend=session
#backend=unix

[auth::basic]
#realm=DaPortal

[auth::session]
#avoids session-fixation attacks by regenerating the session's ID upon logins;
#disable if logins are not functional.
regenerate=1

[database]
#backend=pdo
#backend=pgsql
#backend=sqlite2
#backend=sqlite3
#uncomment to collect debugging information (depends on global debugging)
#debug=1
#uncomment to collect profiling information (threshold in milliseconds)
#profile=1
#profile_threshold=30000

[database::pdo]
#dsn=sqlite:/var/www/sqlite/daportal.db3
#username=
#password=
#persistent=0

[database::pgsql]
#debug=1
#persistent=0
#username=
#password=
#database=
#hostname=
#port=
#timeout=
#service=
#sslmode=

[database::pgsqlpool]
#optional master node (defaults to [database::pgsql])
#master=master
#slaves=slave,slave2

#[database::pgsqlpool::master]
#same parameters as in [database::pgsql]

#[database::pgsqlpool::slave]
#same parameters as in [database::pgsql]

[database::sqlite2]
#filename=/var/www/sqlite/daportal.db

[database::sqlite3]
#filename=/var/www/sqlite/daportal.db3
#enforce foreign keys
#foreign=1

[engine::cli]
#debug=1

[engine::clihttp]
#debug=1
#hostname=localhost
#port=80
#friendly=1
#for SSL
#ssl=1
#port=443

[engine::http]
#debug=1
#private=1
#private::module=user
#private::actions=login,register,reset
#force use of HTTPS:
#  0: disabled (default)
#  1: HTTPS is always enforced
#  2: HTTPS and HSTS are always enforced
#secure=0
#timeout for HSTS (in seconds; 0 to force a reset)
#secure::hsts::timeout=10886400

[engine::httpfriendly]
#debug=1
#kicker=daportal
#or without multiviews matching:
#kicker=daportal.php
#lowercase=0

[format]
#backend=atom
#backend=csv
#backend=html
#backend=html5
#backend=pdf
#backend=plain
#backend=xhtml1
#backend=xhtml11
#backend=xml

[format::csv]
#titles=1

[format::html]
#alternate_themes=1
#CDN support:
#this parameter expects an absolute URL, pointing to the document root for
#static content. It does not belong here though (HTTP engine) and will be moved
#accordingly.
#cdn=
#favicon=
#javascript support:
#  0: no javascript will be generated; more rendering may happen server-side
#  1: javascript is enabled but optional; no functionality is missing without it
#  2: javascript is mandatory for some functionality to work correctly
#  3: javascript support is absolutely mandatory
#javascript=0
#properties for meta-information
#meta::application-name=
#meta::author=
#meta::description=
#meta::generator=
#meta::keywords=
#properties of the viewport
#viewport::width=device-width
#viewport::width=device-width,maximum-scale=1.0

[format::plain]
#wrap=80

[format::application/pdf]
backend=fpdf

[format::application/xml]
backend=xml

[format::application/xhtml+xml]
backend=xhtml1

[format::text/csv]
backend=csv

[format::text/html]
#backend=html
backend=html5
#backend=xhtml1
#backend=xhtml11

[format::text/plain]
backend=plain

[format::text/xml]
backend=xml

[mime]
globs=@PREFIX@/share/mime/globs

[module::browser]
#root=/tmp
#upload=1
#anonymous=1

[module::content]
#moderate=1

[module::donate]
#whether to filter the HTML output
#filter=0
#message for successful donations (HTML)
#message=
#content of the donation widget (HTML)
#widget=

[module::download]
#root=/tmp/download
#umask=0277

[module::manual]
#path=/usr/share/man,/usr/local/man

[module::pki]
#root=/tmp/pki

[module::probe]
#path to the DaMon repository (RRD files)
#root=/tmp/probe
#path to the RRD executable
#rrdtool=rrdtool
#enable slope mode
#slope=1
#address of the rrdcached daemon (if available)
#rrdcached=unix:/tmp/rrdcached.sock

[module::project]
#SCM backend: CVS
#scm::backend::cvs::cvsroot=/tmp/cvs
#scm::backend::cvs::repository=localhost:/tmp/cvs

[module::salt]
#salt=@BINDIR@/salt

[module::search]
#default amount of results per page
#limit=20
#match using regular expressions instead of SQL wildcards
#regexp=1

[module::user]
#allow users (not administrators) to close their own account (default: disabled)
#close=1
#allow users to be listed
#list=1
#log login attempts
#log=1
#allow new users to register an account (default: disabled)
#register=1
#allow users to reset their password (default: disabled)
#reset=1
#force login attempts over HTTPS (default: enabled)
#secure=1

[module::wiki]
#anonymous=0
#root=/tmp/wiki

[template]
backend=basic
#backend=desktop

[template::basic]
#footer=
#homepage=http://
#title=DaPortal
