Make sure everything is world-readable.
[girocco/ztw.git] / gitweb_config.perl
blob5cd19c76e8973a7797de994207588fb2a807eab1
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 || "/";
12 $home_link = "/";
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";
29 ## URI of GIT logo
30 #our $logo = "git-logo.png";
31 $logo = "/git-logo.png";
32 ## URI of GIT favicon, assumed to be image/png type
33 #our $favicon = "git-favicon.png";
34 $favicon = "/git-favicon.png";
36 ## source of projects list
37 #our $projects_list = "";
39 ## show repository only if this file exists
40 ## (only effective if this variable evaluates to true)
41 #our $export_ok = "";
43 ## only allow viewing of repositories also shown on the overview page
44 #our $strict_export = "";
46 ## list of git base URLs used for URL to where fetch project from,
47 ## i.e. full URL is "$git_base_url/$project"
48 @git_base_url_list = ("git://repo.or.cz", "http://repo.or.cz/r");
50 ## default blob_plain mimetype and default charset for text/plain blob
51 #our $default_blob_plain_mimetype = 'text/plain';
52 #our $default_text_plain_charset = undef;
54 ## file to use for guessing MIME types before trying /etc/mime.types
55 ## (relative to the current git repository)
56 #our $mimetypes_file = undef;
58 ## You define site-wide feature defaults here; override them with
59 ## $GITWEB_CONFIG as necessary.
60 #our %feature = (
61 # # feature => {
62 # # 'sub' => feature-sub (subroutine),
63 # # 'override' => allow-override (boolean),
64 # # 'default' => [ default options...] (array reference)}
65 # #
66 # # if feature is overridable (it means that allow-override has true value,
67 # # then feature-sub will be called with default options as parameters;
68 # # return value of feature-sub indicates if to enable specified feature
69 # #
70 # # use gitweb_check_feature(<feature>) to check if <feature> is enabled
72 # 'blame' => {
73 # 'sub' => \&feature_blame,
74 # 'override' => 0,
75 # 'default' => [0]},
77 # 'snapshot' => {
78 # 'sub' => \&feature_snapshot,
79 # 'override' => 0,
80 # # => [content-encoding, suffix, program]
81 # 'default' => ['x-gzip', 'gz', 'gzip']},
83 # 'pickaxe' => {
84 # 'sub' => \&feature_pickaxe,
85 # 'override' => 0,
86 # 'default' => [1]},
87 #);
88 $feature{'blame'}{'default'} = [1];
89 $feature{'pathinfo'}{'default'} = [1];
90 $feature{'forks'}{'default'} = [1];
91 $my_uri = 'http://repo.or.cz/w';