[X2Go-Dev] Bug#242: Provide HTTP access to git repository
Heinrich Schuchardt
xypron.glpk at gmx.de
Sun Jun 16 16:40:11 CEST 2013
Package: git.x2go.org
Severity: wishlist
Dear maintainer,
the X2GO repository can be reached via the following protocols:
ssh, port 22
git, port 9118
Unfortunately these ports may not be reachable from behind a firewall.
Please, setup your webserver to allow access to the repositories via
https or http.
For Apache this can be done with
# Indicate were the git repositories are located.
SetEnv GIT_PROJECT_ROOT /home/git/root
# Indicate git-daemon-export-ok is not needed.
SetEnv GIT_HTTP_EXPORT_ALL
# Location of git backend
ScriptAlias /git /usr/lib/git-core/git-http-backend
# Disallow pushing to repository via HTTP.
<LocationMatch "^/git/.*/git-receive-pack$">
Order allow,deny
Deny from all
</LocationMatch>
Best regards
Heinrich Schuchardt
More information about the x2go-dev
mailing list