X-Git-Url: https://git.ladys.computer/Gitweb/blobdiff_plain/5a8aef00cf48a41cfbf863a708a2d4014410f74dc1b90efb2708c72420df2286..9dba264f8c80ea663327734759f3557a5a2c7fc15071908cbd53cc2f008c12b5:/README
diff --git a/README b/README
index e17aece..200f043 100644
--- a/README
+++ b/README
@@ -164,6 +164,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
@@ -401,6 +407,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