summaryrefslogtreecommitdiff
path: root/templates/gitweb.conf.erb
blob: 0046b56fc05bea0c6529bc295ed69cd65c050e24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# path to git projects (<project>.git)
$projectroot = "<%= project_root %>";

# 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/projects.list;

# stylesheet to use
$stylesheet = ("/git/static/gitweb.css");

# logo to use
$logo = "/git/static/git-logo.png";

# the 'favicon'
$favicon = "/favicon.ico";

# enable pathinfo style urls
$feature{'pathinfo'}{'default'} = [1];

# javascript code for gitweb
$javascript = "/git/static/gitweb.js";

# --------------------------------------------
# We're now on v3

# finally the user name
$ENV{GL_USER} = $cgi->remote_user || "gitweb";

our $export_ok = "git-daemon-export-ok";
$strict_export = true;