Don’t fight it. Just install lighttpd and get on with your life.
The git-instaweb command performs the same basic function as “hg serve” in Mercurial, publishing a git repository using a web server.
Currently apache2, lighttpd, mongoose, plackup and webrick are supported. (Default: lighttpd)
This means that lighttpd works without any special configuration. Just cd into your repository and do a “git instaweb” and the script will launch the server and your web browser already dialed up to the right host and port. Things aren’t quite as easy with Apache HTTPD, at least how its implemented in Red Hat Linux. Since lighttpd takes less than 1MB on disk the smart thing to do is to just install that package and move on.