Hi, Thanks for the help, it got me close to the target ;)
On May 18, 7:13 pm, Thomas Schamm <[email protected]> wrote: [...] > To solve your problem, i think you have to deactivate ssl-support when > running the webserver brought with gitorious, see > threadhttp://groups.google.com/group/gitorious/t/2c5b7d8abc1ec55f > > > - As the login & register page needs ssl, you have to setup a > > gitorious-ssl site in apache > > Actually, you can skip the SSL requirement. If you add the line > > SslRequirement.disable_ssl_check = true > > into (for instance) <gitorious_root>/config/environments/ > > > production.rb, the SSL requirement will be skipped. This got me past the ssl issue but now cannot login (I can register). Whenever I try to login I get redirected to the frontpage without being logged in. ----- RAILS_ENV=production script/server --trace server: invalid option: --trace => Booting Mongrel => Rails 2.3.2 application starting on http://0.0.0.0:3000 /media/code/gitorious/config/environment.rb:97: warning: already initialized constant CA_FILE /media/code/gitorious/app/metal/git_http_cloner.rb:53: warning: already initialized constant TRUSTED_PROXIES => Call with -d to detach => Ctrl-C to shutdown server SQL (0.1ms) SET NAMES 'utf8' SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 Processing SessionsController#new (for 127.0.0.1 at 2009-05-18 20:32:14) [GET] Site Columns (0.9ms) SHOW FIELDS FROM `sites` WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Rendering template within layouts/application Rendering sessions/new WARNING: Can't mass-assign these protected attributes: subdomain Rendered layouts/_common_head (2.7ms) Rendered layouts/_login_logout (4.2ms) Rendered searches/_search_box (3.1ms) Rendered layouts/_common_footer (1.7ms) Completed in 66ms (View: 43, DB: 2) | 200 OK [http://localhost/login] Processing SessionsController#create (for 127.0.0.1 at 2009-05-18 20:32:19) [POST] Parameters: {"openid_url"=>"", "remember_me"=>"1", "commit"=>"Log in", "method"=>:get, "password"=>"xxxxxxx", "email"=>"u...@host"} User Load (0.5ms) SELECT * FROM `users` WHERE (email = 'u...@host' and activated_at IS NOT NULL and suspended_at IS NULL) LIMIT 1 SQL (0.2ms) BEGIN User Update (0.4ms) UPDATE `users` SET `updated_at` = '2009-05-18 18:32:19', `remember_token_expires_at` = '2009-06-01 18:32:19', `remember_token` = '508e3f5d247d1181e337879685a626b625c5b1e5' WHERE `id` = 2 [paperclip] Saving attachments. SQL (0.2ms) COMMIT Redirected to http://localhost:3000/ Completed in 29ms (DB: 2) | 302 Found [http://localhost/sessions] Processing SiteController#index (for 127.0.0.1 at 2009-05-18 20:32:19) [GET] WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain Project Load (0.4ms) SELECT * FROM `projects` ORDER BY id desc LIMIT 10 Repository Load (0.5ms) SELECT distinct repositories.*, count (events.id) as event_count FROM `repositories` INNER JOIN `events` ON `events`.target_id = `repositories`.id AND `events`.target_type = 'Repository' WHERE (events.created_at > '2009-04-18 18:32:20' and kind in (3,2)) GROUP BY repositories.id ORDER BY event_count desc LIMIT 10 Project Load (0.6ms) SELECT distinct projects.*, count(events.id) as event_count FROM `projects` INNER JOIN `events` ON events.project_id = projects.id WHERE (events.created_at > '2009-05-04 18:32:20') GROUP BY projects.id ORDER BY event_count desc LIMIT 10 Project Load (0.4ms) SELECT distinct projects.*, count(events.id) as event_count FROM `projects` INNER JOIN `events` ON events.project_id = projects.id GROUP BY projects.id ORDER BY event_count desc LIMIT 0 User Load (0.4ms) SELECT users.*, count(events.id) as event_count FROM `users` INNER JOIN `events` ON events.user_id = users.id GROUP BY users.id ORDER BY event_count desc LIMIT 10 Group Load (0.5ms) SELECT groups.*, committerships.repository_id, repositories.id, events.id, events.target_id, events.target_type, count(events.id) as event_count FROM `groups` INNER JOIN `committerships` ON `committerships`.committer_id = `groups`.id AND `committerships`.committer_type = 'Group' INNER JOIN `repositories` ON `repositories`.id = `committerships`.repository_id INNER JOIN `events` ON `events`.target_id = `repositories`.id AND `events`.target_type = 'Repository' WHERE (committerships.repository_id = events.target_id and events.target_type = 'Repository') GROUP BY groups.id ORDER BY event_count desc LIMIT 10 Event Load (0.3ms) SELECT * FROM `events` WHERE (events.action != 5) ORDER BY events.created_at desc LIMIT 25 WARNING: Can't mass-assign these protected attributes: subdomain WARNING: Can't mass-assign these protected attributes: subdomain ----- Any further wisdom to share? /regards naga --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Gitorious" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/gitorious?hl=en -~----------~----~----~----~------~----~------~--~---
