On Fri, Sep 9, 2011 at 5:29 AM, Tomoya KABE <kabet.a...@gmail.com> wrote:

> Hello,
>
> I am a newbie user of Gitorious.
> I have a trouble on using relative_url_path configuration and need
> your help.
>
> I set up Gitorious on my private server and I think it is good
> Gitorious web root be http://myserver.com/gitorious/.
> I googled and found that some people are saying adding
>  config.action_controller.relative_url_root = "/gitorious"
> in config/environments/production.rb.
> I tried it and confirmed it is seemingly loaded:
>  root@myserver:/var/www/gitorious# RAILS_ENV=production script/
> console
>  Loading production environment (Rails 2.3.5)
>  >> ActionController::Base.relative_url_root
>  => "/gitorious"
>
> However, when I go to Gitorious web UI (http://myserver.com/
> gitorious/) and logged in, I am always redirected to "/" (http://
> myserver.com/), not "/gitorious".
> It happens also on logging out.
>
> Using git interface, user management, etc. are working seemingly
> correctly.
> Need other configurations?
>

Yes, I think some changes need to be made in Gitorious for this to work, but
I don't remember which ones... Short story: doesn't work today, you'll need
a separate virtual host.

Cheers,
- Marius

-- 
To post to this group, send email to gitorious@googlegroups.com
To unsubscribe from this group, send email to
gitorious+unsubscr...@googlegroups.com

Reply via email to