Hello,
I am configuring Git on windows using http access. I am able to configure 
httpd.conf to the extent, where anyone in the network can push/pull changes 
from the server repository. However, the authentication block within 
httpd.conf seem to be not getting invoked. The authuserfile is existing 
having designated user created through httpwd.exe. The virtual host entry 
is enclosed below:
 
<VirtualHost xx.xx.xx.xx:80>
    DocumentRoot  "D:/Repository"
    ServerName xx.xx.xx.xx    
    SetEnv GIT_PROJECT_ROOT "D:/Repository"
    SetEnv GIT_HTTP_EXPORT_ALL
    SetEnv REMOTE_USER=$REDIRECT_REMOTE_USER
    ScriptAlias /git/ "C:/Program 
Files/Git/libexec/git-core/git-http-backend.exe"
<LocationMatch /git>
   AuthType Basic
   AuthName "USE YOUR WINDOWS ACCOUNT"
   Require valid-user
   AuthUserFile "D:/config/user"
</LocationMatch>
 
 <Directory "D:/Repository">
   Dav On
 </Directory>
    <Directory  "C:/Program Files/Git/libexec/git-core">
        Options +ExecCGI
        Options All
  AllowOverride All
        Require all granted
    </Directory>    
 Errorlog "D:/Log/apache-git.log"
</VirtualHost>
 
 
Can anyone please help me setting up authentication and authorization 
settings, like we do it in Subversion?
 
regards,
Nishant

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to