OpenInteract

 view release on metacpan or  search on metacpan

conf/sample-server.ini  view on Meta::CPAN

# the database (set by default and recommended). Note that if you're
# using LDAP or some SMB authentication you want to set this to '0'
# since the backend will take care of that for you.
#
# *_field: These are the fields used to read in the username and
# password from the user and are used in the 'login_box' component
# shipped with OpenInteract and found in the 'base_box' package. Note
# that if 'remember_field' is not defined then we don't display the
# checkbox in the login box.
#
# custom_*: Class and method that specify an code that executes after
# the authentication process is complete (Optional)
#
# always_remember: if true then we always remember the login (and
# don't display the checkbox)
#
# required: if set a login is always required; if the user isn't
# logged in she'll be sent to the URL in 'required_url'
#
# required_skip: zero or more regular expressions indicating the areas
# of the site that don't require a login even if 'required' is true

[login]
crypt_password       = 1
login_field          = login_login_name
password_field       = login_password
remember_field       = login_remember
custom_handler       = 
custom_method        = 
custom_fail_method   = 
always_remember      = 0
required             = 0
required_url         = /login.html
required_skip        = ^/$
required_skip        = ^/index.html$
required_skip        = ^/Login.*
required_skip        = ^/help.*

#
# Various simple miscellaneous display items can go here:
#
# use_meta_redirect: if set to 1 we'll create a redirect using META
# tags (old way)
#
# use_http_redirect: if set to 1 we'll perform a redirect using HTTP
# headers (new way); overrides 'use_header_redirect' if set
#
# show_redirect_message: if using 'use_meta_redirect' controls whether
# we display a message in the page using META tags

[display_info]
use_meta_redirect     = 1
use_http_redirect     = 0
show_redirect_message = 0

#
# Page directives come before the rest of the URL and
# control some fundamental aspect of display. For instance,
# 'NoTmpl' before a URL will not put the content in a
# template, and 'Popup' before a URL will put the content
# into the template used for popup windows (usually a really
# simple one that you set in your theme). For all directives
# except the 'No' ones the key  should be found as the value
# in 'template_names' below which matches up to a key in the
# theme. (Slightly confusing.)

[page_directives]
Popup      = simple_template
NoTemplate = 1
NoTmpl     = 1


#
# Define the keys under which we store our important
# template names in a theme. This way we can use simple
# keywords to refer to the page definition templates. (NOTE:
# This is not used quite yet but should be implemented
# shortly.)

[template_names]
main   = main_template
simple = simple_template

#
# Define information used by the template processing modules. 
#
# template_ext: Default extension for template files. We also check
# for files with a given name and no extension
#
# cache_size: How many templates the Template Toolkit should cache in
# memory
#
# compile_cleanup: If true, will remove all compiled files on server
# restart (production boxes can set this to false so that startup
# costs aren't so heavy)
#
# compile_ext: Extension for compiled TT files. Most people won't (or
# shouldn't) care about this.
#
# custom_init_*: Class and method specifying an action that's called
# before the template object is initialized. Here you can define a
# PRE_PROCESS template (for instance, with BLOCKs having all your
# common widgets) or set any of the other configuration information
# specified in 'perldoc Template::Manual::Config'. If you use this,
# set 'custom_init_class' to a class that has a method specified in
# 'custom_init_method' or use the default ('handler')
#
# custom_variable_*: Class and method specifying an action that's
# called before every template is processed. If you have common
# BLOCKs, formatting elements or other items that are not full-blown
# OI components, you can add them to the template variable hash. If
# you use this, set 'custom_variable_class' to a class that has a
# method specified in 'custom_variable_method' or use the default
# ('handler').

[template_info]
template_ext           = tmpl
cache_size             = 75
compile_cleanup        = 1
compile_ext            = .ttc
custom_init_class      =



( run in 1.051 second using v1.01-cache-2.11-cpan-364913b4093 )