From 2379e52e35835c735113d77996d49e63b3828bdd Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Thu, 29 Oct 2026 19:56:43 -0700 Subject: Document virtual-root's default of SCRIPT_NAME cgit falls back to SCRIPT_NAME followed by a slash when virtual-root is unset, so its links always take the path form and none take the ?url= form the docs described. --- custom/cgitrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'custom/cgitrc') diff --git a/custom/cgitrc b/custom/cgitrc index 4b4dd4c..23e3072 100644 --- a/custom/cgitrc +++ b/custom/cgitrc @@ -124,8 +124,8 @@ enable-header=1 # or 1. Default is 0. embedded=0 -# Root url for all cgit links, enabling virtual urls. Value is a url path. -# Default is none. +# Root url for all cgit links. Value is a url path. Default is SCRIPT_NAME +# followed by a slash. #virtual-root=/ # Link format string for submodules in directory listings. Value is a format -- cgit 2.12.1