Alias /git /var/cache/git Options Indexes DAV On AuthType Digest AuthName "Git Repository" AuthUserFile /etc/apache2/git.passwd # Require valid-user # Order allow,deny Allow from 192.168.1.0/24 #Allow from All