On Wed, Dec 9, 2009 at 3:29 PM, Marius Mårnes Mathiesen <[email protected]> wrote: > On Wed, Dec 9, 2009 at 3:22 PM, Gustavo Soares <[email protected]> > wrote: >> >> ok, one thing that I haven't mentioned is that I am using apache + >> mod_passenger with two virtual hosts, each for a gitorious installation. > > Okay. That shouldn't have any effect on the Git daemon though, as this is > not run within Apache. > Same goes for SSH, though, you will need to bind the SSH daemon to two > different IP addresses (for pushes), and have each of them use its own > configuration. Each of these will need to locate a separate version of the > gitorious script (script/gitorious in the application root) or at least the > correct gitorious.yml file.
If you don't have any extra IPs, or if you can live without the git-daemon (or run them on separate ports, _if_ you really need them for an internal install), you could also just create two different "git" users. eg use two different users for pushing/pulling over ssh and run the app under each respectively and set gitorious_user in gitorious.yml accordingly. JS -- You received this message because you are subscribed to the Google Groups "Gitorious" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/gitorious?hl=en.
