Removed gitweb references

This commit is contained in:
2026-04-09 14:23:57 -04:00
parent 0fbcb20a48
commit da06a640de
5 changed files with 5 additions and 105 deletions

View File

@@ -1,35 +0,0 @@
# path to git projects (<project>.git)
$projectroot = "/usr/local/apache2/htdocs/archive/Repositories/";
# 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;
# stylesheet to use
@stylesheets = ("/common/catppuccin.css");
# javascript code for gitweb
$javascript = "/static/gitweb.js";
# logo to use
#$logo = "static/git-logo.png";
# the 'favicon'
$favicon = "/usr/local/apache2/htdocs/common/favicon.ico";
# git-diff-tree(1) options to use for generated patches
#@diff_opts = ("-M");
@diff_opts = ();
$site_name = "eom.dev - Repositories";
$site_header = "/usr/local/apache2/htdocs/common/gitweb-header.html";
$home_link_str = "archive/Repositories";
$logo_label = "git:";

View File

@@ -1,29 +0,0 @@
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule cgi_module modules/mod_cgi.so
SetEnv GIT_PROJECT_ROOT /usr/local/apache2/htdocs/archive/Repositories
SetEnv GIT_HTTP_EXPORT_ALL
ScriptAliasMatch \
"(?x)^/git/(.*/(HEAD | \
info/refs | \
objects/(info/[^/]+ | \
[0-9a-f]{2}/[0-9a-f]{38} | \
pack/pack-[0-9a-f]{40}\.(pack|idx)) | \
git-(upload|receive)-pack))$" \
/usr/lib/git-core/git-http-backend/$1
ScriptAlias /archive/Repositories/ /usr/lib/cgi-bin/gitweb.cgi/
<Directory "/usr/lib/git-core">
Options +ExecCGI +Indexes
Order allow,deny
Allow from all
Require all granted
</Directory>
<Directory "/usr/lib/cgi-bin">
Options +ExecCGI +Indexes
Order allow,deny
Allow from all
Require all granted
</Directory>