|
From: Chris W. <la...@us...> - 2001-11-06 14:59:51
|
Update of /cvsroot/openinteract/OpenInteract In directory usw-pr-cvs1:/tmp/cvs-serv23926 Modified Files: UPGRADE Log Message: added upgrade notes regarding server and Apache configuration Index: UPGRADE =================================================================== RCS file: /cvsroot/openinteract/OpenInteract/UPGRADE,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** UPGRADE 2001/10/15 05:38:01 1.5 --- UPGRADE 2001/11/06 14:59:40 1.6 *************** *** 54,61 **** As we improve OpenInteract, we occasionally add new configuration ! options to the 'server.perl' file. Since we have not yet developed a ! utility to integrate these changes automatically, check here to see ! what updates there have been between the versions. ============================== UPGRADING TO 1.3 --- 54,155 ---- As we improve OpenInteract, we occasionally add new configuration ! options to the 'server.perl' or 'server.ini' file. Since we have not ! yet developed a utility to integrate these changes automatically, ! check here to see what updates there have been between the versions. ! ! ! ============================== ! UPGRADING TO 1.35 ! ============================== ! ! OpenInteract configuration changes ! -------------------- ! ! With the additional option of using a INI-style configuration file, we ! made a number of changes to the server configuration. It's probably ! easiest if you have the sample and your existing file open ! side-by-side for comparison. ! ! - Moved 'template_ext' ! to: 'template_info'->'template_ext' ! ! - Moved 'default_connection_db' ! to: 'datasource'->'default_connection_db' ! ! - Moved 'default_connection_ldap' ! to: 'datasource'->'default_connection_ldap' ! ! - Moved 'error_object_class' ! to: 'error'->'error_object_class' ! ! - Moved 'default_error_handler' ! to: 'error'->'default_error_handler' ! ! - Moved 'smtp_host' ! to: 'mail'->'smtp_host' ! ! - Moved 'admin_email' ! to: 'mail'->'admin_email' ! ! - Moved 'content_email' ! to: 'mail'->'content_email' ! ! - Reverse and flatten the 'system_alias' hashref. For instance: ! ! OpenInteract::Auth => [ qw/ auth auth_user auth_group / ] ! ! becomes: ! ! auth => 'OpenInteract::Auth', ! auth_user => 'OpenInteract::Auth', ! auth_group => 'OpenInteract::Auth', ! ! - Moved 'action'->'_default_action_info' ! to: 'action_info'->'default' ! ! - Moved 'action'->'_notfound' ! to: 'action_info'->'not_found' ! ! - Moved 'action'->"''" ! to: 'action_info'->'none' ! ! - Moved 'stash_class' ! to: 'server_info'->'stash_class' ! ! - Moved 'request_class' ! to: 'server_info'->'request_class' ! ! - Moved 'website_name' ! to: 'server_info'->'website_name' ! ! ! Apache configuration changes ! -------------------- ! ! The location and name of the variables set in your Apache ! configuration have changed. Instead of: + <Location /> + SetHandler perl-script + PerlSetVar StashClass MySite::Stash + PerlHandler OpenInteract + </Location> + + + Change it to: + + PerlSetVar OIStashClass MySite::Stash + PerlSetVar OIRootDir /path/to/my/website + + <Location /> + SetHandler perl-script + PerlHandler OpenInteract + </Location> + + So we added 'PerlSetVar', modified the variable name to be more + namespace-friendly and moved the declarations to the server rather + than the Location. + + ============================== UPGRADING TO 1.3 *************** *** 72,76 **** You'll also need to create this directory in any websites you're upgrading. For websites created with 'oi_manage create_website' after ! the upgrade, you will not need to create this directory. --- 166,172 ---- You'll also need to create this directory in any websites you're upgrading. For websites created with 'oi_manage create_website' after ! the upgrade, you will not need to create this directory. Also ensure ! that it has permissions so that the website server user has permission ! to create and delete files. |