Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #4242

Closed
Open
Created Jun 06, 2013 by Administrator@rootOwner

it redirect to 404 page aways after login success deployed gitlab with cdn

Created by: skcks

every user login success result in the url "http://gitlab.mysite.com/users/favicon.ico?id=0.(\d+)….." , 5.2-stable gitlab deployed on vps and using cdn provided by incapsula.com

production log:

Started POST "/users/sign_in" for 113.111.***.*** at 2013-06-07 00:24:37 +0800
Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"KP061j6SwC0JjFAWEG0sUFogcnNND4KFpNqxqqFVIGo=", "user"=>{"login"=>"sk***@live.com", "password"=>"[FILTERED]", "remember_me"=>"0"}}
Redirected to http://gitlab.mysite.com/users/favicon.ico?id=0.7132064721081406
Completed 302 Found in 114ms (ActiveRecord: 0.0ms)
Started GET "/users/favicon.ico?id=0.7132064721081406" for 113.111.***.*** at 2013-06-07 00:24:38 +0800
Processing by ProjectsController#show as HTML
Parameters: {"id"=>"users/favicon.ico"}
Rendered public/404.html (0.1ms)
Filter chain halted as :project rendered or redirected
Completed 404 Not Found in 3ms (Views: 0.9ms | ActiveRecord: 0.4ms)

snapshot: 404

solution:
it will be ok after delete line 6 in _header.html.haml(find it in home/git/gitlab/app/views/layouts):
%head
  %meta{charset: "utf-8"}
  %title
    = "#{title} | " if defined?(title)
    GitLab
  = favicon_link_tag 'favicon.ico'     /delete this line
  = stylesheet_link_tag    "application"
  = javascript_include_tag "application"
  = csrf_meta_tags
Assignee
Assign to
Time tracking