summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2013-12-24 15:28:38 -0800
committerelijah <elijah@riseup.net>2013-12-24 15:28:38 -0800
commit50edf487dccc86684782f8b370eabff9b482d127 (patch)
treebd5d390df407247c40bb6d57b7434251e5748a46
parentc1af877dea9ef68f67966bce89a9c14e0e53dff0 (diff)
enable pathinfo mode for gitweb
-rw-r--r--templates/gitweb.conf.erb9
1 files changed, 6 insertions, 3 deletions
diff --git a/templates/gitweb.conf.erb b/templates/gitweb.conf.erb
index 0100e3d..f434604 100644
--- a/templates/gitweb.conf.erb
+++ b/templates/gitweb.conf.erb
@@ -14,13 +14,16 @@ $home_text = "indextext.html";
$projects_list = $projectroot;
# stylesheet to use
-#$stylesheet = ("static/gitweb.css");
+$stylesheet = ("/git/gitweb.css");
# logo to use
-#$logo = "static/git-logo.png";
+$logo = "/git/git-logo.png";
# the 'favicon'
-#$favicon = "static/git-favicon.png";
+$favicon = "/favicon.ico";
+
+# enable pathinfo style urls
+$feature{'pathinfo'}{'default'} = [1];
# --------------------------------------------
# We're on gitolite v2, be careful!