Gitweb
======
-Re-emerge `git` with the `gci` USE flag enabled.
+Re-emerge `git` with the `cgi` USE flag enabled.
# echo "dev-util/git cgi" >> /etc/portage/package.use/webserver
# emerge -av git
Gitweb allows browsing repositories via HTTP, but if you will be
pulling from your repositories using the `git://` protocol, you'll
also want to run `git-daemon`. On Gentoo, this is really easy, just
-edit `/etc/conf.d/git-daemon` as you see fit. I added
+edit `/etc/conf.d/git-daemon` as you see fit. I added `--verbose`,
`--base-path=/var/git` and `--export-all` to `GITDAEMON_OPTS`. Start
the daemon with
# rc-update add git-daemon default
+If you're logging to syslog and running syslog-ng, you can configure
+the log location using the usual syslog tricks. See my [[syslog-ng]]
+for details.
+
[summary]: http://www.philsergi.com/2008/04/gitweb-apache-gentoo.html
[[!tag tags/git]]