Issue
I'm trying to setup automatic git repo creation when creating a new redmine project following this tutorial: href="http://www.dreu.info/blog/install-redmine-with-automated-git-on-centos-redhat/" rel="nofollow">http://www.dreu.info/blog/install-redmine-with-automated-git-on-centos-redhat/
But when I add the httpd.conf into my empty httpd.conf, apache2 won't start. Can someone help me out or verify if the config is correct?
PerlLoadModule Apache::Redmine
SetEnv GIT_PROJECT_ROOT /var/git/
SetEnv GIT_HTTP_EXPORT_ALL
ScriptAlias /git/ /usr/libexec/git-core/git-http-backend/
<Location /git>
RedmineGitSmartHttp yes
DAV on
AuthType Basic
Require valid-user
AuthName "git"
PerlAccessHandler Apache::Authn::Redmine::access_handler
PerlAuthenHandler Apache::Authn::Redmine::authen_handler
RedmineDSN "DBI:mysql:database=redmine_databse;host=localhost"
RedmineDbUser "user"
RedmineDbPass "password"
</Location>
Alias /git-private /var/git
<Location /git-private>
Order deny,allow
Deny from all
<Limit GET PROPFIND OPTIONS REPORT>
Options Indexes FollowSymLinks MultiViews
Allow from 127.0.0.1
Allow from localhost
</Limit>
</Location>
Thanks
Solution
I solved it. The path to git-http-backend was incorrect. to find the correct path I used 'find / -name git-http-backend" and changed the path to: /usr/lib/git-core/git-http-backend/.
Answered By - Brian Veltman Answer Checked By - Terry (WPSolving Volunteer)