X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=gitweb%2FREADME;h=66c6a9391d3494ae8928e88501d8fa0d36dffa42;hb=f1f523eae99020d58ad6e7a1ef8187569e15c270;hp=ccda890c0ef1b2d1fb1c451d3f9a10d97817c8f6;hpb=456cb4cf3ef6e3dec637b7061b0c834b62eba0f5;p=git.git
diff --git a/gitweb/README b/gitweb/README
index ccda890c0..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