From 4b5bc8b187ee0237f8d51628d72ec71d92088ca0 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Wed, 26 Feb 2014 13:39:55 +0100 Subject: [PATCH] Update for new gitolite/gitweb structure and config --- gitweb.conf | 12 +++++------- static | 1 + 2 files changed, 6 insertions(+), 7 deletions(-) create mode 120000 static diff --git a/gitweb.conf b/gitweb.conf index 3dcc651..d3f9407 100644 --- a/gitweb.conf +++ b/gitweb.conf @@ -1,19 +1,17 @@ $vhostdir = "madduck"; $pubdir = "pub"; $confroot = "/srv/git/gitweb/git.madduck.net"; -$projectroot = "/srv/git/repos/$vhostdir/$pubdir"; +$projectroot = "/srv/git/repositories/$vhostdir/$pubdir"; $git_temp = "/tmp"; $site_header = "$confroot/header.html"; $site_footer = "$confroot/footer.html"; -$projects_list = $projectroot; -$default_projects_order = "project"; +$export_ok = "git-daemon-export-ok"; +$strict_export = 1; +$omit_owner = 1; @git_base_url_list=("git://git.madduck.net/$vhostdir/$pubdir", "ssh://git@git.madduck.net/$vhostdir/$pubdir", "madduck:$pubdir"); -$logo = '/git-logo.png'; -$favicon = '/git-favicon.png'; -push @stylesheets, '/gitweb.css'; push @stylesheets, '/local.css'; $feature{'pathinfo'}{'default'} = [1]; $feature{'forks'}{'default'} = [1]; $prevent_xss = 1; -$export_auth_hook = sub { return -e "$_[0]/git-daemon-export-ok"; }; +#$export_auth_hook = sub { return -e "$_[0]/git-daemon-export-ok"; }; diff --git a/static b/static new file mode 120000 index 0000000..c2c9317 --- /dev/null +++ b/static @@ -0,0 +1 @@ +/usr/share/gitweb/static \ No newline at end of file -- 2.39.2