From: Jakub Narebski <jnareb@gmail.com>
To: "Mathieu.Pogeant" <Mathieu.Pogeant@renesasmobile.com>
Cc: git@vger.kernel.org, Jakub Narebski <jnareb@gmail.com>
Subject: Re: Multiple projects with gitweb
Date: Wed, 13 Jul 2011 09:17:23 -0700 (PDT) [thread overview]
Message-ID: <m3bowyb1gd.fsf@localhost.localdomain> (raw)
In-Reply-To: <700B9246C3446949B8085B181F2C217804E59B@renexmb01.roe2.renesasmobile.com>
<Mathieu.Pogeant@renesasmobile.com> writes:
> Hello,
>
> I'm trying to have this with GitWeb.
> I have a repo under /project1 and a repo under /project2 on my Git server.
> I would like to access these 2 repo via Gitweb like that:
> http://mygitserver/project1 and http://mygitserver/project2.
>
> The problem is that gitweb.conf permit to use just one repo
> with directive $projectroot.
Actually it is not true. The full path to repository is
"$projectroot/$project"
so if you really have both repositories in top directory, try using
our $projectroot = "/";
Of course to have "http://mygitserver/project1" as URL you have to do
some URL rewriting; I think there is example either in gitweb/README
or in gitweb/INSTALL.
HTH
--
Jakub Narębski
prev parent reply other threads:[~2011-07-13 16:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-13 13:10 Multiple projects with Gitweb Mathieu.Pogeant
2011-07-13 14:12 ` Drew Northup
2011-07-13 16:20 ` Multiple projects with gitweb Jakub Narebski
2011-07-13 16:17 ` Jakub Narebski [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3bowyb1gd.fsf@localhost.localdomain \
--to=jnareb@gmail.com \
--cc=Mathieu.Pogeant@renesasmobile.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).