Link to home
Create AccountLog in
Avatar of CSIA AN
CSIA ANFlag for Andorra

asked on

apache 2.2 frontend for GIT.

We have installed apache 2.2 on an AIX box. We have also installed GIT rpms and now we want to setup a frontend
using apache. In the same box, apache is serving as frontend to SVN and work OK.

First, we have create a new FS and initializate GIT repository by running
#cd /my_git_repo
#git init

Open in new window

This is the configuration we have on apache for GIT.

     <Location /my_git_repo>
      Dav on
      AuthName "GIT-LDAP-Auth BSA"
      AuthType Basic
      AuthBasicProvider ldap
      AuthzLDAPAuthoritative on
      AuthLDAPBindDN ""
      AuthLDAPBindPassword password

      AuthLDAPURL "ldap://"
      AuthUserFile /dev/null
      Require ldap-user user1
      Allow from
      Allow from localhost
      Deny from All

Open in new window

But, now when we're going to clone the git repositpry we're having this error

[Mon Jun 15 18:02:47 2015] [error] [client] File does not exist: /var/www/htdocs/my_git_repo/info

Open in new window

Avatar of mccarl
Flag of Australia image

Link to home
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of CSIA AN



Sorry, I forgot to say I have created repository at /var/www/htdocs.

[root@aix:/var/www/htdocs/my_git_repo] ls -tlr
total 0
drwxr-xr-x    7 root     system          256 Jun 15 17:44 .git

Open in new window

Avatar of CSIA AN


By the way, do you see my git-apache's configuration OK?
Avatar of CSIA AN


Thanks mccarl.. There was a mistake on my side and apache was not pointing to the right place..
Thanks much.
You're welcome!!