ugh... accidentally hit enter.... :/

<VirtualHost *:80>
  ServerName example.com
  DocumentRoot /var/www/cgit

  ServerAlias /cgit-a /var/www/cgit/cgit.cgi/
  ServerAlias /cgit-b /var/www/cgit/cgit.cgi/

   <Location /cgit-a>
       SetEnv CGIT_CONFIG "/etc/cgitrc1"
    </Location>
    <Location /cgit-b>
       SetEnv CGIT_CONFIG "/etc/cgitrc2"
     </Location>

 # ... rest of your v-host

</VirtualHost>

On Tue, Oct 18, 2011 at 7:41 PM, Jamie Couture <[email protected]>wrote:

> This has more to do with how you configure your web server.  If you're
> using apache, I would do the following:
>
> <VirtualHost *:80>
>
>
> On Mon, Oct 17, 2011 at 8:52 AM, Aeschbacher, Fabrice <
> [email protected]> wrote:
>
>> Hi,
>>
>> How would you configure two different cgit pages on the same server (e.g.
>> http://myserver/cgit-a and http://myserver/cgit-b), to make a sub-set of
>> the git repos appear under cgit-a and the rest under cgit-b ?
>>
>> With kind regards,
>> Fabrice Aeschbacher
>>
>>
>> _______________________________________________
>> cgit mailing list
>> [email protected]
>> http://hjemli.net/mailman/listinfo/cgit
>>
>
>
_______________________________________________
cgit mailing list
[email protected]
http://hjemli.net/mailman/listinfo/cgit

Reply via email to