[chora] Chora setup flawless... almost

Mathieu Arnold arn_mat@club-internet.fr
Wed, 14 Nov 2001 09:26:55 +0100


ryan-horde@p11.com wrote:
> 
> It just appears that modules aren't being displayed...
> 
> http://cvs.p11.com/
> 
> Also, i'm planning on running multiple cvs'es off of one host, each with their
> own apache virtual host:
> 
> cvs.p11.com
> cvs.kaneda.net
> holycode.net
> 
> I want them each to be a chora cvs tree, each to use the smae install of horde,
> but is there a way to allow chora only to display repositories attached to
> specific virtual names?  Ie: cvs.kaneda.net modules only appear on
> http://cvs.kaneda.net, etc.

well, I was thinking of something like that
and I believe that changing a big cvsroots.php with something like :

if ($HTTP_ENV_VARS['HTTP_HOST'] === 'www.p11.com') {
  $cvsroots['p11'] = array (
     ....
  );
}
if (...

not tested, but should work

-- 
Mathieu Arnold