page doesn't exist. It appears that $base_url is not determined correctly.
Does anyone have a clue how that problem can be fixed?
OTOH by looking at the source I see
<base href="http://git.cryp.to/cgi-bin/gitweb.cgi" />
which doesn't seem correct at all. Do you have something in the gitweb config
that may be hard-coding the base url?
--
Giuseppe "Oblomov" Bilotta
See gitweb/README:
* $my_url, $my_uri
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.
Or you can set up $base_url in your gitweb configuration file (which
is not mentioned in the gitweb/README, unfortunately).
Since 81d3fe9 (gitweb: fix wrong base URL when non-root DirectoryIndex)
by Giuseppe Bilotta (I have CC-ed him) gitweb tries to set $base_url
using $cgi->url(-base => 1) . $ENV{'SCRIPT_NAME'} if we use $path_info,
and if both $my_url and $my_uri begin with $path_info.
I do not know CGI.pm well enough to think up a better solution, but
when $base_url was introduced I have posted email on git mailing list
about slight mismatch between what CGI.pm thinks as absolute URL and
the notion of absolute URL and absolute _paths_ in appropriate RFC,
see e.g.
http://thread.gmane.org/gmane.comp.version-control.git/107344/focus=107437http://thread.gmane.org/gmane.comp.version-control.git/107898/focus=108010
P.S. I didn't look at the site in question.
--
Jakub Narebski
Poland
ShadeHawk on #git
From: Peter Simons <hidden> Date: 2016-06-15 22:46:41
Hi Jakub,
> Or you can set up $base_url in your gitweb configuration file (which
> is not mentioned in the gitweb/README, unfortunately).
My gitweb.conf file is now configured as follows:
$my_url = "http://git.cryp.to/";
$my_uri = "/";
$base_url = $my_uri;
[...]
That seems to do the trick.
Thank you for your help,
Peter