Hello, I have a problem that on my gitweb site, some links which end with  
'/HEAD' result an empty html page. For example if I click on my 
project.git, then on the menu 'tree', and then 'commitdiff' menu item 
(gitweb/project.git/commitdiff/HEAD).

I have setup both gitweb and git-http-backend to work on the same /gitweb 
url path as documented on 
https://git-scm.com/docs/git-http-backend#Documentation/git-http-backend.txt-Apache2x.
 
My Apache2 configuration is:
ScriptAliasMatch \
    "(?x)^/gitweb/(.*/(HEAD | \
                       info/refs | \
                       objects/(info/[^/]+ | \
                                [0-9a-f]{2}/[0-9a-f]{38} | \
                                pack/pack-[0-9a-f]{40}\.(pack|idx)) | \
                       git-(upload|receive)-pack))$" \
    /usr/lib/git-core/git-http-backend/$1

Alias /gitweb /usr/share/gitweb

How could I fix it so that all gitweb links work as expected?

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/git-users/cf4651a4-520f-471c-b904-53b6791f6224%40googlegroups.com.

Reply via email to