I'm running GitWeb on Windows Server 2008 R2 using Apache 2.2.22 (win64). I followed the instructions here: https://git.wiki.kernel.org/index.php/MSysGit:GitWeb The instructions say that we should use the msysgit version of perl as the first line of perl in the gitweb.cgi script.
GitWeb works, but it is extremely slow, taking around 10 seconds for a page to load. What I noticed was that even if I write a "Hello World" script using msysgit's version of Perl as the first line, Apache is slow to execute that as well. However, if change to a different version of Perl, such as cygwin's perl (C:/cygwin/bin/perl), it is fast again. I can't get gitweb.cgi to execute using any other type of perl besides msysgit, because when I do, I get an "Projects Not Found" error.