Skip to content

Commit e80f97e

Browse files
jnarebgitster
authored andcommitted
gitweb: Update README that gitweb works better with PATH_INFO
One had to configure gitweb for it to find static files (stylesheets, images) when using path_info URLs. Now that it is not necessary thanks to adding BASE element to HTML head if needed, update README to reflect this fact. Signed-off-by: Jakub Narebski <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 08e6710 commit e80f97e

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

gitweb/README

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -162,14 +162,12 @@ not include variables usually directly set during build):
162162
$GITWEB_LIST during installation. If empty, $projectroot is used
163163
to scan for repositories.
164164
* $my_url, $my_uri
165-
URL and absolute URL of gitweb script; you might need to set those
166-
variables if you are using 'pathinfo' feature: see also below.
165+
Full URL and absolute URL of gitweb script;
166+
in earlier versions of gitweb you might have need to set those
167+
variables, now there should be no need to do it.
167168
* $home_link
168169
Target of the home link on top of all pages (the first part of view
169-
"breadcrumbs"). By default set to absolute URI of a page; you might
170-
need to set it up to [base] gitweb URI if you use 'pathinfo' feature
171-
(alternative format of the URLs, with project name embedded directly
172-
in the path part of URL).
170+
"breadcrumbs"). By default set to absolute URI of a page ($my_uri).
173171
* @stylesheets
174172
List of URIs of stylesheets (relative to base URI of a page). You
175173
might specify more than one stylesheet, for example use gitweb.css

0 commit comments

Comments
 (0)