# When the script is the root DirectoryIndex for the domain,
# $href here would be something like http://gitweb.example.com/
# When the script is the root DirectoryIndex for the domain,
# $href here would be something like http://gitweb.example.com/
if (defined $params{'hash_base'}) {
$href .= "/".esc_url($params{'hash_base'});
if (defined $params{'file_name'}) {
if (defined $params{'hash_base'}) {
$href .= "/".esc_url($params{'hash_base'});
if (defined $params{'file_name'}) {