I have a git repository in Apache server. How can allow my developers to have full access i.e read and write access to the repository. I am working on windows platform.
相关问题
- Stop .htaccess redirect with query string
- .htaccess rule, redirecting old unexistent address
- Why does recursive submodule update from github fa
- How to deploy a web application Aurelia in an Apac
- Apache Directory Studio not opening
相关文章
- 请教Git如何克隆本地库?
- Apache+Tomcat+JK实现的集群,如果Apache挂了,是不是整个服务就挂了?
- GitHub:Enterprise post-receive hook
- How reliable is HTTP_HOST?
- Git Clone Fails: Server Certificate Verification F
- SSIS solution on GIT?
- Is there a version control system abstraction for
- ssh: Could not resolve hostname git: Name or servi
The idea is to call git directly from the httpd Apache config file using the
git-http-backend
exe.This is part of the smart http protocol, that I mention in this answer.
That script (which is in any Git distribution) will be able to get a git query over http and return the result.
You can find a complete example in "Setting up Git Server on Windows With
git-http-backend.exe
"For a finer-grained access level control, you can add an authorization layer like gitolite in your
httpd.conf
(gitolite will then call hit-http-backend if it authorizes the git query).I use it in cunjunction with an LDAP (for the authentication part), but you don't have to use an LDAP, just make sure your Apache config is set up to authenticate users first, in order for gitolite to have an user id to work with (allow or deny).