From: Jakub Narebski <jnareb@gmail•com>
To: "Martin Röhricht" <public@felicis•org>
Cc: git@vger•kernel.org
Subject: Re: bare init and gitweb
Date: Tue, 17 Jun 2008 13:27:51 -0700 (PDT) [thread overview]
Message-ID: <m3bq1zolh6.fsf@localhost.localdomain> (raw)
In-Reply-To: <g38t49$lgr$3@ger.gmane.org>
Martin Röhricht <public@felicis•org> writes:
> in order to use git for some projects via WebDAV I followed the
> instructions given in
> http://www.kernel.org/pub/software/scm/git/docs/howto/setup-git-server-over-http.txt
[...]
> Whenever I clone the server's repository somewhere else, I get the
> README file as expected. But when I use gitweb to show me the contents
> of the repository, all I get is this:
>
> -------------------------8<------------------------
> projects /
>
> 403 Forbidden - No projects found
> -------------------------8<------------------------
>
> The projectroot variable within /etc/gitweb.conf points to my
> ~/gitrepo.git, and whenever I use "git init", add and commit some
> files locally on the server I see the contents as expected by using
> gitweb, but never by using a repository created with "git --bare init".
>
> Can someone help me out? I would really appreciate any help.
The $projectroot variable should point to the _common root_ of all
projects, in your case it could be one directory up your repository,
for example
our $projectroot = /home/nick
not
our $projectroot = /home/nick/gitrepo.git
(and '~' expansion would not work).
gitweb/README and gitweb/INSTALL should explain it in more detail.
The documentation you mentioned IIUC is for people who know how to
setup gitweb already
http://repo.or.cz/w/git.git?a=blob;f=gitweb/INSTALL;hb=HEAD
http://repo.or.cz/w/git.git?a=blob;f=gitweb/README;hb=HEAD
--
Jakub Narebski
Poland
ShadeHawk on #git
next prev parent reply other threads:[~2008-06-17 20:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-17 17:43 bare init and gitweb Martin Röhricht
2008-06-17 20:27 ` Jakub Narebski [this message]
2008-06-18 6:14 ` Martin Röhricht
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=m3bq1zolh6.fsf@localhost.localdomain \
--to=jnareb@gmail$(echo .)com \
--cc=git@vger$(echo .)kernel.org \
--cc=public@felicis$(echo .)org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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