We help IT Professionals succeed at work.

apache 2.2 frontend for GIT.

Last Modified: 2015-06-16
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 "binduser@domain.net"
      AuthLDAPBindPassword password

      AuthLDAPURL "ldap://domain.net:3268/?sAMAccountName?sub?"
      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

Watch Question

IT Business Systems Analyst / Software Developer
Top Expert 2015
This one is on us!
(Get your first solution completely free - no credit card required)



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


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


Thanks mccarl.. There was a mistake on my side and apache was not pointing to the right place..
Thanks much.
mccarlIT Business Systems Analyst / Software Developer
Top Expert 2015

You're welcome!!

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.