git: Refactor hierarcy and names
git/client is now git and in software submodule git/server is now git-server
This commit is contained in:
parent
e13b87324c
commit
90142649d7
13 changed files with 6 additions and 44 deletions
|
@ -1,26 +0,0 @@
|
|||
# git clone http support
|
||||
SetEnv GIT_PROJECT_ROOT /srv/git
|
||||
SetEnv GIT_HTTP_EXPORT_ALL
|
||||
|
||||
# gitweb settings
|
||||
SetEnv GITWEB_PROJECTROOT /srv/git
|
||||
|
||||
Alias /static/ /var/www/git/static/
|
||||
|
||||
#AliasMatch ^/(.*/objects/[0-9a-f]{2}/[0-9a-f]{38})$ /srv/git/$1
|
||||
#AliasMatch ^/(.*/objects/pack/pack-[0-9a-f]{40}.(pack|idx))$ /srv/git/$1
|
||||
|
||||
<Directory /usr/libexec/git-core>
|
||||
Require all granted
|
||||
</Directory>
|
||||
ScriptAliasMatch \
|
||||
"(?x)^/(.*/(HEAD | \
|
||||
info/refs | \
|
||||
objects/info/[^/]+ | \
|
||||
git-(upload|receive)-pack))$" \
|
||||
/usr/libexec/git-core/git-http-backend/$1
|
||||
|
||||
ScriptAlias /gitweb.cgi /var/www/git/gitweb.cgi
|
||||
<Location />
|
||||
DirectoryIndex gitweb.cgi
|
||||
</Location>
|
Loading…
Add table
Add a link
Reference in a new issue