Friday, 15 March 2013

Client denied by server configuration for Git and Apache -



Client denied by server configuration for Git and Apache -

i trying cunfigure git server on windows server 2008 r2 apache 2.4 server. added httpd.conf file :

<directory "c:/serveur_web"> options +execcgi require granted </directory> <virtualhost *:80> setenv git_project_root c:/serveur_web setenv git_http_export_all setenv remote_user=$redirect_remote_user scriptaliasmatch \ "(?x)^/(.*/(head | \ info/refs | \ objects/(info/[^/]+ | \ [0-9a-f]{2}/[0-9a-f]{38} | \ pack/pack-[0-9a-f]{40}\.(pack|idx)) | \ git-(upload|receive)-pack))$" \ "c:/program files (x86)/git/libexec/git-core/git-http-backend.exe/$1" </virtualhost>

i created repository in c:/serveur_web typed command clone remote machine :

git clone http://dladev1/parc_auto

i received error :

c:\users\assontia>git clone http://localhost/parc_auto cloning 'parc_auto'... fatal: unable access 'http://localhost/parc_auto/': requested url returne d error: 403

in apache error.log can see :

[thu jun 26 02:44:50.404296 2014] [authz_core:error] [pid 2852:tid 816] [client 10.52.66.78:60785] ah01630: client denied server configuration: c:/program files (x86)/git/libexec/git-core/git-http-backend.exe

i wondering if because not have rights access git server anonymously ? need automatically create users utilize git server ?

this question not help me resolve issue : question

git apache httpd.conf

No comments:

Post a Comment