X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=gitweb%2FREADME;h=66c6a9391d3494ae8928e88501d8fa0d36dffa42;hb=f1f523eae99020d58ad6e7a1ef8187569e15c270;hp=8433dd1d45780b3947cc4a0b31ee2059ea6e65bf;hpb=2254da06a5473ffde973337bad2c6a96eea61e20;p=git.git diff --git a/gitweb/README b/gitweb/README index 8433dd1d4..66c6a9391 100644 --- a/gitweb/README +++ b/gitweb/README @@ -165,6 +165,12 @@ not include variables usually directly set during build): Full URL and absolute URL of gitweb script; in earlier versions of gitweb you might have need to set those variables, now there should be no need to do it. + * $base_url + Base URL for relative URLs in pages generated by gitweb, + (e.g. $logo, $favicon, @stylesheets if they are relative URLs), + needed and used only for URLs with nonempty PATH_INFO via + Options ExecCGI AddHandler cgi-script cgi @@ -402,6 +408,14 @@ http://git.example.com/project will provide human-friendly gitweb access. +This solution is not 100% bulletproof, in the sense that if some project +has a named ref (branch, tag) starting with 'git/', then paths such as + +http://git.example.com/project/command/abranch..git/abranch + +will fail with a 404 error. + + Originally written by: Kay Sievers