Links in Wiki pages are missing relative_url_root
Closed
Links in Wiki pages are missing relative_url_root
Created by: Hocsi
I installed gitlab to a relative url (/gitlab/), not to the root. Everything works fine, except the links in the wiki. i created 2 pages: http://server/gitlab/user/newtestproj/wikis/home http://server/gitlab/user/newtestproj/wikis/masik
home page contains this link link to other page
the created link inside Wiki is this: http://server/user/newtestproj/wikis/masik the correct would be: http://server/gitlab/user/newtestproj/wikis/masik
All of these were executed:
Note that four settings need to be changed for this to work.
#1) In your application.rb file: config.relative_url_root = "/gitlab"
#2) In your gitlab.yml file: relative_url_root: /gitlab
#3) In your unicorn.rb: ENV['RAILS_RELATIVE_URL_ROOT'] = "/gitlab"
#4) In ../gitlab-shell/config.yml: gitlab_url: "http://127.0.0.1/gitlab"
# To update the path, run: sudo -u git -H bundle exec rake assets:precompile RAILS_ENV=production
#
config.relative_url_root = "/gitlab"
gitlab version: GitLab 6.5.1 GitLab Shell 1.8.0 GitLab API v3 Ruby 1.9.3p194 Rails 4.0.2
Created by: Hocsi
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/23
i think this is the fix, and still in open status
By Administrator on 2014-04-17T07:30:55 (imported from GitLab project)