Я запускаю Gitolite в режимах ssh и http на centOS 7. Я следовал этому учебнику, как есть.
Моя проблема в Я могу клонировать все репозитории через ssh, но могу клонировать репозиторий testing.git только через http, даже после добавления R = daemon правила доступа ко всем репозиториям, которые Я хочу сделать доступным через http.
gitolite.conf выглядит так:
cat gitolite.conf
repo gitolite-admin
RW+ = Git-Admin
repo testing
RW+ = @all
repo avengers
RW+ = Git-Admin
repo @all
R = daemon gitweb
ssh git@192.168.15.2 info
hello Git-Admin, this is git@osboxes running gitolite3 v3.6.9-0-g144d8a2 on git 1.8.3.1
R W avengers
R W gitolite-admin
R W testing
завиток http://admin:admin@192.168.15.2/git/info
hello admin, this is httpd@osboxes running gitolite3 v3.6.9-0-g144d8a2 on git 1.8.3.1
R W testing
Я не могу понять, где я иду не так.
заранее спасибо
[root @ osboxes репозитории] # vim /var/www/bin/gitolite-suexec-wrapper.sh
#!/bin/bash
#
#Suexec wrapper for gitolite-shell
#
export GIT_PROJECT_ROOT="/home/git/repositories"
export GITOLITE_HTTP_HOME="/home/git"
exec ${GITOLITE_HTTP_HOME}/gitolite/src/gitolite-shell
[репозитории root @ osboxes] # cat /etc/httpd/conf/httpd.conf
<VirtualHost *:80>
# You can comment out the below 3 lines and put correct value as per your server information
# ServerName gitserver.example.com
# ServerAlias gitserver
ServerAdmin youremailid@example.com
DocumentRoot /var/www/git
<Directory /var/www/git>
Options None
AllowOverride none
Order allow,deny
Allow from all
</Directory>
SuexecUserGroup git git
ScriptAlias /git/ /var/www/bin/gitolite-suexec-wrapper.sh/
ScriptAlias /gitmob/ /var/www/bin/gitolite-suexec-wrapper.sh/
#ScriptAlias /git/ /home/git/gitolite/src/gitolite-shell
#ScriptAlias /gitmob/ /home/git/gitolite/src/gitolite-shell
<Location /git>
AuthType Basic
AuthName "Git Access"
Require valid-user
AuthUserFile /etc/httpd/conf/git.passwd
</Location>
</VirtualHost>