Created
February 23, 2011 21:00
-
-
Save mlafeldt/841177 to your computer and use it in GitHub Desktop.
working config for gitweb v1.7.4.1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # | |
| # /etc/apache2/conf.d/gitweb | |
| # | |
| Alias /gitweb /var/www/gitweb | |
| <Directory /var/www/gitweb> | |
| Options ExecCGI +FollowSymLinks +SymLinksIfOwnerMatch | |
| AllowOverride All | |
| order allow,deny | |
| Allow from all | |
| AddHandler cgi-script cgi | |
| DirectoryIndex gitweb.cgi | |
| </Directory> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # | |
| # /etc/gitweb.conf | |
| # | |
| # path to git projects (<project>.git) | |
| $projectroot = "/var/cache/git"; | |
| # directory to use for temp files | |
| $git_temp = "/tmp"; | |
| # target of the home link on top of all pages | |
| #$home_link = $my_uri || "/"; | |
| # html text to include at home page | |
| $home_text = "indextext.html"; | |
| # file with project list; by default, simply scan the projectroot dir. | |
| $projects_list = $projectroot; | |
| # stylesheet to use | |
| $stylesheet = "/gitweb/static/gitweb.css"; | |
| # logo to use | |
| $logo = "/gitweb/static/git-logo.png"; | |
| # the 'favicon' | |
| $favicon = "/gitweb/static/git-favicon.png"; |
Nice. And we're using svn, trac, and some other "bleeding-edge" technologies. ;)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
FYI, we're using cgit and gerrit over here, check out http://code.nrs/ and http://review.nrs/ :)