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 #our $logo = "git-logo.png";
33 $logo = "/git-logo.png";
34 ## URI of GIT favicon, assumed to be image/png type
35 #our $favicon = "git-favicon.png";
36 $favicon = "/git-favicon.png";
38 ## source of projects list
39 #our $projects_list = "";
41 ## show repository only if this file exists
42 ## (only effective if this variable evaluates to true)
45 ## only allow viewing of repositories also shown on the overview page
46 #our $strict_export = "";
48 ## list of git base URLs used for URL to where fetch project from,
49 ## i.e. full URL is "$git_base_url/$project"
50 @git_base_url_list = ("git://repo.or.cz", "http://repo.or.cz/r");
52 ## default blob_plain mimetype and default charset for text/plain blob
53 #our $default_blob_plain_mimetype = 'text/plain';
54 #our $default_text_plain_charset = undef;
56 ## file to use for guessing MIME types before trying /etc/mime.types
57 ## (relative to the current git repository)
58 #our $mimetypes_file = undef;
60 ## You define site-wide feature defaults here; override them with
61 ## $GITWEB_CONFIG as necessary.
64 # # 'sub' => feature-sub (subroutine),
65 # # 'override' => allow-override (boolean),
66 # # 'default' => [ default options...] (array reference)}
68 # # if feature is overridable (it means that allow-override has true value,
69 # # then feature-sub will be called with default options as parameters;
70 # # return value of feature-sub indicates if to enable specified feature
72 # # use gitweb_check_feature(<feature>) to check if <feature> is enabled
75 # 'sub' => \&feature_blame,
80 # 'sub' => \&feature_snapshot,
82 # # => [content-encoding, suffix, program]
83 # 'default' => ['x-gzip', 'gz', 'gzip']},
86 # 'sub' => \&feature_pickaxe,
90 $feature{'blame'}{'default'} = [1];
91 $feature{'pathinfo'}{'default'} = [1];
92 $feature{'forks'}{'default'} = [1];
93 $my_uri = 'http://repo.or.cz/w';