I setup GIT and wanted GITWeb on my RHEL with HTTPD 2.2 server. When i try to start my HTTPD server i'm getting below error message. I'm sure some modules are missing but not sure what it is.
Can some one help me please?
[root@cmcccc httpd]# service httpd start
Starting httpd: Syntax error on line 2 of /etc/httpd/conf.d/gitweb.conf:
Invalid command '$projectroot', perhaps misspelled or defined by a module not included in the server configuration
Below is my gitweb.conf
# path to git projects (<project>.git)
$projectroot = "/apps/opt/gitrepo";
# directory to use for temp files
$git_temp = "/tmp";
# target of the home link on top of all pages
#$home_link = $my_uri || "/";
# html text to include at home page
$home_text = "indextext.html";
# file with project list; by default, simply scan the projectroot dir.
$projects_list = $projectroot;
# stylesheet to use
$stylesheet = "/gitweb/gitweb.css";
# logo to use
$logo = "/gitweb/git-logo.png";
# the 'favicon'
$favicon = "/gitweb/git-favicon.png";
$feature{'snapshot'}{'default'} = ['zip','tgz'];