|
From: Chris W. <la...@us...> - 2001-10-17 02:45:21
|
Update of /cvsroot/openinteract/OpenInteract/conf
In directory usw-pr-cvs1:/tmp/cvs-serv3975
Modified Files:
sample-server.ini
Log Message:
various updates
Index: sample-server.ini
===================================================================
RCS file: /cvsroot/openinteract/OpenInteract/conf/sample-server.ini,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** sample-server.ini 2001/10/15 17:50:11 1.1
--- sample-server.ini 2001/10/17 02:45:17 1.2
***************
*** 161,189 ****
# Define login information. In the future you'll be able to define
# the object(s) used for logging in and possibly more.
-
- [login]
-
#
! # Set whether you want to store encrypted passwords in 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.
!
! crypt_password = 1
!
#
! # 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.
login_field = login_login_name
password_field = login_password
remember_field = login_remember
-
- #
- # This handler defines custom actions that happen when a user
- # logs in.
-
custom_login_handler =
custom_login_method =
--- 161,182 ----
# Define login information. In the future you'll be able to define
# the object(s) used for logging in and possibly more.
#
! # crypt_password: Set whether you want to store encrypted passwords in
! # 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.
! #
! # custom_login_*: Class and method that specify an action that
! # executes when a user logs in (Optional)
+ [login]
+ crypt_password = 1
login_field = login_login_name
password_field = login_password
remember_field = login_remember
custom_login_handler =
custom_login_method =
***************
*** 226,282 ****
#
# Define information used by the template processing modules.
-
- [template_info]
-
#
! # Default extension for template files. We also check for files with a
! # given name and no extension
!
! template_ext = tmpl
!
#
! # Whether to look into the database or the filesystem first
! # when checking templates. The default is filesystem, but if
! # you make changes to templates via the browser you'll want to
! # change this to 'database'. Otherwise your changes will never
! # be seen. Options are: 'database', 'filesystem'
!
! source = filesystem
!
#
! # Custom handler 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_init_class =
- custom_init_method =
-
#
! # Custom handler 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').
-
- custom_variable_class =
- custom_variable_method =
-
#
! # 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_cleanup = 1
!
#
! # Extension for compiled TT files. Most people won't (or
# shouldn't) care about this.
compile_ext = .ttc
--- 219,265 ----
#
# 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
#
! # source: Whether to look into the database or the filesystem first
! # when checking templates. The default is filesystem, but if you make
! # changes to templates via the browser you'll want to change this to
! # 'database'. Otherwise your changes will never be seen. Options are:
! # 'database', 'filesystem'
#
! # 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').
#
! # 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.
+
+
+ [template_info]
+ template_ext = tmpl
+ source = filesystem
+ custom_init_class =
+ custom_init_method =
+ custom_variable_class =
+ custom_variable_method =
+ compile_cleanup = 1
compile_ext = .ttc
***************
*** 334,339 ****
[dir]
! base = # replaced in OpenInteract::Startup
! interact = # replaced in OpenInteract::Startup
error = $BASE/error
html = $BASE/html
--- 317,322 ----
[dir]
! base =
! interact =
error = $BASE/error
html = $BASE/html
***************
*** 380,410 ****
method = handler
-
- #
- # The action table defines how OpenInteract responds to URLs; the
- # only information we hold here is for default information
- # (information that does not need to be specified in the
- # individual package's 'conf/action.perl' file); we also define
- # how OpenInteract should respond to a null action (under the ''
- # key) and how it should respond to an action that is not found
- # (under '_notfound_')
! # Note that we used to use 'default' instead of
! # '_default_action_info_' -- the former is now deprecated so you
! # should move to the new one!
! [default_action_info]
template_processor = OpenInteract::Template::Process
conductor = main
method = handler
! [action_none]
redir = basicpage
! [action_not_found]
redir = basicpage
-
# NOTES:
# -- Create new section 'datasource' and put 'default_datasource_db'
--- 363,387 ----
method = handler
! # The action table defines how OpenInteract responds to URLs; the only
! # information we hold here is for default information ('action_info
! # default) -- information that does not need to be specified in the
! # individual package's 'conf/action.perl' file; we also define how
! # OpenInteract should respond to a null action (under 'action_info
! # none') and how it should respond to an action that is not found
! # (under 'action_info not_found')
! [action_info default]
template_processor = OpenInteract::Template::Process
conductor = main
method = handler
! [action_info none]
redir = basicpage
! [action_info not_found]
redir = basicpage
# NOTES:
# -- Create new section 'datasource' and put 'default_datasource_db'
***************
*** 421,424 ****
# -- Reverse how we do 'system_alias' -- it's easier now :-)
! # -- split up our action items into 'default_action_info',
! # 'action_none' and 'action_not_found' sections
--- 398,402 ----
# -- Reverse how we do 'system_alias' -- it's easier now :-)
! # -- split up our action items into 'action_info default',
! # 'action_info none' and 'action_info not_found' sections in the
! # group 'action_info'
|