1 ## core git executable to use
2 ## this can just be "git" if your webserver has a sensible PATH
3 our $GIT = "/home/pasky/bin/git";
5 ## absolute fs-path which will be prepended to the project path
6 ##our $projectroot = "/pub/scm";
7 #our $projectroot = "/srv/git";
8 $projectroot = "/srv/git";
10 ## target of the home link on top of all pages
11 #our $home_link = $my_uri || "/";
14 ## string of the home link on top of all pages
15 #our $home_link_str = "projects";
16 $home_link_str = "repo.or.cz";
18 ## name of your site or organization to appear in page titles
19 ## replace this with something more descriptive for clearer bookmarks
20 #our $site_name = "" || $ENV{'SERVER_NAME'} || "Untitled";
21 $site_name = "Public Git Hosting";
23 ## html text to include at home page
24 #our $home_text = "indextext.html";
26 ## URI of default stylesheet
27 #our $stylesheet = "gitweb.css";
28 $stylesheet = "/gitweb.css";
30 $blamejs = "/blame.js";
32 $gitwebjs = "/gitweb.js";
34 #our $logo = "git-logo.png";
35 $logo = "/git-logo.png";
36 ## URI of GIT favicon, assumed to be image/png type
37 #our $favicon = "git-favicon.png";
38 $favicon = "/git-favicon.png";
40 ## source of projects list
41 #our $projects_list = "";
43 ## show repository only if this file exists
44 ## (only effective if this variable evaluates to true)
47 ## only allow viewing of repositories also shown on the overview page
48 #our $strict_export = "";
50 ## list of git base URLs used for URL to where fetch project from,
51 ## i.e. full URL is "$git_base_url/$project"
52 @git_base_url_list = ("git://repo.or.cz", "http://repo.or.cz/r");
54 ## default blob_plain mimetype and default charset for text/plain blob
55 #our $default_blob_plain_mimetype = 'text/plain';
56 #our $default_text_plain_charset = undef;
58 ## file to use for guessing MIME types before trying /etc/mime.types
59 ## (relative to the current git repository)
60 #our $mimetypes_file = undef;
62 ## You define site-wide feature defaults here; override them with
63 ## $GITWEB_CONFIG as necessary.
66 # # 'sub' => feature-sub (subroutine),
67 # # 'override' => allow-override (boolean),
68 # # 'default' => [ default options...] (array reference)}
70 # # if feature is overridable (it means that allow-override has true value,
71 # # then feature-sub will be called with default options as parameters;
72 # # return value of feature-sub indicates if to enable specified feature
74 # # use gitweb_check_feature(<feature>) to check if <feature> is enabled
77 # 'sub' => \&feature_blame,
82 # 'sub' => \&feature_snapshot,
84 # # => [content-encoding, suffix, program]
85 # 'default' => ['x-gzip', 'gz', 'gzip']},
88 # 'sub' => \&feature_pickaxe,
92 $feature{'blame'}{'default'} = [1];
93 $feature{'pathinfo'}{'default'} = [1];
94 $feature{'forks'}{'default'} = [1];
95 $my_uri = 'http://repo.or.cz/w';
96 $projlist_cache_lifetime = 10;