From 1fc6e3672741441721bc9ec9ffd1ffd3f2c8cf33 Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Sat, 31 Oct 2026 13:10:49 -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. --- README.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'README.txt') diff --git a/README.txt b/README.txt index 0ef3155..5bc42b4 100644 --- a/README.txt +++ b/README.txt @@ -149,8 +149,8 @@ URLs and query parameters cgit serves every page from one CGI program, so a url names the repository, the page and a path inside that page. There are two forms and they carry the same -information. With virtual-root set, a request is a path, written as -/// with anything else as a query string. Without it, the +information. The one cgit's own links take is a path, written as +/// with anything else as a query string. In the other the whole request lives in the query string as ?url=//. The page name is the second element and is one of about, atom, blame, blob, -- cgit