Index: branches/0.7-stable/config/environment.rb =================================================================== --- branches/0.7-stable/config/environment.rb (revision 1729) +++ branches/0.7-stable/config/environment.rb (working copy) @@ -35,6 +35,16 @@ # config.action_controller.session_store = :active_record_store config.action_controller.session_store = :PStore + ## When multiple RoR-apps are running under one domain using different sub-rui's + ## make sure you set either session_path (preferred) or session_key to prevent session-mangling + # + # Modify the following line to make the sessions path-specific instead of domain-specific + # config.action_controller.session = { :session_path => '/suburi' } + # + # Modify the following line to prefix the sessions with a application-specific key + # config.action_controller.session = { :session_key => 'redmine' } + ## + # Enable page/fragment caching by setting a file-based store # (remember to create the caching directory and make it readable to the application) # config.action_controller.fragment_cache_store = :file_store, "#{RAILS_ROOT}/cache" Index: trunk/config/environment.rb =================================================================== --- trunk/config/environment.rb (revision 1729) +++ trunk/config/environment.rb (working copy) @@ -35,6 +35,16 @@ # config.action_controller.session_store = :active_record_store config.action_controller.session_store = :PStore + ## When multiple RoR-apps are running under one domain using different sub-rui's + ## make sure you set either session_path (preferred) or session_key to prevent session-mangling + # + # Modify the following line to make the sessions path-specific instead of domain-specific + # config.action_controller.session = { :session_path => '/suburi' } + # + # Modify the following line to prefix the sessions with a application-specific key + # config.action_controller.session = { :session_key => 'redmine' } + ## + # Enable page/fragment caching by setting a file-based store # (remember to create the caching directory and make it readable to the application) # config.action_controller.fragment_cache_store = :file_store, "#{RAILS_ROOT}/cache"