Diff options
| author | Bryce Kwon <bryce@brycekwon.com> | |
|---|---|---|
| committer | Bryce Kwon <bryce@brycekwon.com> | |
| commit | ||
| parent | ||
| tree | ||
| download | ||
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.
Diffstat (limited to 'README.txt')
| -rw-r--r-- | README.txt | 4 |
1 file changed, 2 insertions, 2 deletions
@@ -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 -/<repo>/<page>/<path> with anything else as a query string. Without it, the +information. The one cgit's own links take is a path, written as +/<repo>/<page>/<path> with anything else as a query string. In the other the whole request lives in the query string as ?url=<repo>/<page>/<path>. The page name is the second element and is one of about, atom, blame, blob, |
