On Tuesday, July 3, 2012 7:28:20 AM UTC+2, Raviraj wrote:
>
> My git.conf looks like following
>
> SetEnv GIT_PROJECT_ROOT /git/repos
> SetEnv GIT_HTTP_EXPORT_ALL
>
> #AliasMatch ^/git/(.*/objects/[0-9a-f]{2}/[0-9a-f]{38})$          
> /gitrepos/$1
> #AliasMatch ^/git/(.*/objects/pack/pack-[0-9a-f]{40}.(pack|idx))$ 
> /gitrepos/$1
>
> ScriptAlias /git/ /usr/local/libexec/git-core/git-http-backend/
>
> Alias /gitrepos/ "/git/repos/"
> <Directory "/git/repos/">
>         AuthName "GIT Repository"
>         AuthUserFile /etc/git-auth-file
>         Require valid-user
> </Directory>
>
> I am not getting the authentication box webpage when i do 
> https://myhost/gitrepos/myrepo
>
> Please can some one give me step-by-step configuration of smart http 
> protocol and configuring the browsing repos via browser.
>


Hi,

I'm not sure where you've put this git.conf file. You need to tell us which 
how-to you have already followed, as you're not providing enough 
information here on how your setup is, like Apache version, operating 
system, existing configuration, etc.

Generally, you might be better off using an out-of-the-box-solution like 
Gitblit 
GO <http://gitblit.com/> if you aren't comfortable with configuring Apache.

Otherwise, googling for "git smart http apache" provides a number of 
resources for you:

   - http://git-scm.com/2010/03/04/smart-http.html
   - 
   http://stackoverflow.com/questions/8021167/git-debian-apache-and-smart-http
   - 
   
http://loutilities.wordpress.com/2011/08/12/setting-up-git-with-apache-smart-https-and-ldap/
   - 
   
http://brakkee.org/site/2011/08/06/git-server-setup-on-linux-using-smart-http/
   

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/git-users/-/_gho4HEdx6QJ.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.

Reply via email to