Cannot Logout - 1.3.0
Added by Devin Frazier almost 13 years ago
Hello! I'm currently running RM 1.3.0 and had to use the guide (http://adil.az/uncategorized/installing-redmine-on-cpanel/) to install RM on my server. Everything seems to be running well so far (except for one segmentation fault that crashed the app) except for logging out. If I click logout, my production.log displays:
Processing AccountController#logout (for xx.xx.xx.xx at 2012-01-27 23:09:05) [ Parameters: {"action"=>"logout", "controller"=>"account"} Redirected to http://project.site.com/ Completed in 3ms (DB: 1) | 302 Found [http://project.pcgntx.com/logout] Processing WelcomeController#index (for xx.xx.xx.xx at 2012-01-27 23:09:05) [G Parameters: {"action"=>"index", "controller"=>"welcome"} Rendering template within layouts/base Rendering welcome/index Completed in 11ms (View: 7, DB: 2) | 200 OK [http://project.site.com/]
And the user stays logged in.
One thing I did have to change in order to make rewrite work on my server to put RM on port 80 was to add
@head['cookie'] = options['cookie'] if options['cookie'] options.delete('cookie')
above
REMOVED_KEYS.each {|k| options.delete(k) }
within the file: /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/cgi.rb
Without those lines in there my browser would just try to download the index page as an actual file download.
Any help with this would be much appreciated!
Rails 2.3.14
ruby 1.8.7 (2011-02-18 patchlevel 334) [x86_64-linux]