Bitnami:如何在 Apache2 中配置 GitLab 5.0 应用程序没有相对根? [英] Bitnami: How to configure GitLab 5.0 application in Apache2 not to have relative root?
问题描述
(或者如何将 GitLab 应用程序作为 Apache2 HTTP 服务器上的根应用程序.)
我以前没有使用过 Apache2,但我得到了
我希望它有所帮助.
问候.
(Or how to make GitLab application as root application on Apache2 HTTP server. )
I have not used Apache2 before, but I got Bitnami GitLab VM with preinstalled server.
I and run into issues, because application root is relative. Bitnami GitLab 5.0 and git & Eclipse EGit quick start
The fix is to not using relative root, but run GitLab application as root on Apache2 HTTP server.
I have found configuration files location using Bitnami wiki for Apache component:
1) /opt/bitnami/apache2/conf/httpd.conf
is absent.
2) Apache2 config for GitLab aplication: gitlab.conf
Please help:
How to configure GitLab 5.0 application in Apache2 not to have relative root?
UPDATE: This is still unsolved, my own answer doesn't help.
Have you precompiled the assets again? To do so, you should run:
$ cd /opt/bitnami/apps/gitlab/htdocs
$ bundle exec bin/rake assets:precompile RAILS_RELATIVE_URL_ROOT='/'
Then restart Apache server.
More info: http://wiki.bitnami.com/Applications/BitNami_GitLab#How_to_change_the_default_URL_to_the_root.3f
I hope it helps.
Regards.
这篇关于Bitnami:如何在 Apache2 中配置 GitLab 5.0 应用程序没有相对根?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!