Bitnami:如何配置的Apache2 GitLab 5.0应用程序不具有相对根? [英] Bitnami: How to configure GitLab 5.0 application in Apache2 not to have relative root?
问题描述
(或者如何使GitLab应用程序的Apache2 HTTP服务器上的应用程序根)。
(Or how to make GitLab application as root application on Apache2 HTTP server. )
我以前没有使用过的Apache2,但我得到了 Bitnami GitLab VM 与preinstalled服务器。
I have not used Apache2 before, but I got Bitnami GitLab VM with preinstalled server.
我碰上的问题,因为应用程序的根是相对的。
<一href=\"http://stackoverflow.com/questions/15757642/bitnami-gitlab-5-0-and-git-eclipse-egit-quick-start\">Bitnami GitLab 5.0和Git和放大器;例如:It Eclipse的快速启动
I and run into issues, because application root is relative. Bitnami GitLab 5.0 and git & Eclipse EGit quick start
解决方法是不使用相对根源,但运行GitLab应用程序的Apache2 HTTP服务器的根目录。
The fix is to not using relative root, but run GitLab application as root on Apache2 HTTP server.
我发现使用 Bitnami维基的Apache组件配置文件位置:
I have found configuration files location using Bitnami wiki for Apache component:
1) /opt/bitnami/apache2/conf/httpd.conf
不存在。
2)的Apache2配置为GitLab aplication: gitlab.conf
2) Apache2 config for GitLab aplication: gitlab.conf
请帮忙:
如何配置的Apache2 GitLab 5.0应用程序不具有相对根?
更新:这仍然没有解决,我自己的答案并不能帮助
UPDATE: This is still unsolved, my own answer doesn't help.
推荐答案
你有$ P $再次pcompiled资产?要做到这一点,你应该运行:
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='/'
然后重新启动Apache服务器。
Then restart Apache server.
更多信息:<一href=\"http://wiki.bitnami.com/Applications/BitNami_GitLab#How_to_change_the_default_URL_to_the_root.3f\" rel=\"nofollow\">http://wiki.bitnami.com/Applications/BitNami_GitLab#How_to_change_the_default_URL_to_the_root.3f
我希望它能帮助。
问候。
这篇关于Bitnami:如何配置的Apache2 GitLab 5.0应用程序不具有相对根?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!