-<Directory {scmgit/repos_path}>
- Include {core/config_path}/httpd.conf.d/disable-scripts.inc
+<Directory ${FF__scmgit__repos_path}>
+ Include ${FF__core__config_path}/httpd.conf.d/disable-scripts.inc
</Directory>
# git-http-backend
-SetEnv GIT_PROJECT_ROOT {scmgit/repos_path}
+SetEnv GIT_PROJECT_ROOT ${FF__scmgit__repos_path}
SetEnv GIT_HTTP_EXPORT_ALL
-<Directory {core/plugins_path}/scmgit/libexec>
+<Directory ${FF__core__plugins_path}/scmgit/libexec>
Require all granted
</Directory>
[0-9a-f]{2}/[0-9a-f]{38} | \
pack/pack-[0-9a-f]{40}\.(pack|idx)) | \
git-(upload|receive)-pack))$" \
- {core/plugins_path}/scmgit/libexec/git-http-backend/$1
-Alias /anonscm/git {scmgit/repos_path}
+ ${FF__core__plugins_path}/scmgit/libexec/git-http-backend/$1
+Alias /anonscm/git ${FF__scmgit__repos_path}
ScriptAliasMatch \
"(?x)^/authscm/[^/]+/git/(.*/(HEAD | \
[0-9a-f]{2}/[0-9a-f]{38} | \
pack/pack-[0-9a-f]{40}\.(pack|idx)) | \
git-(upload|receive)-pack))$" \
- {core/plugins_path}/scmgit/libexec/git-http-backend/$1
-AliasMatch ^/authscm/[^/]+/git/(.*) /srv/git/$1
+ ${FF__core__plugins_path}/scmgit/libexec/git-http-backend/$1
+AliasMatch ^/authscm/[^/]+/git/(.*) ${FF__scmgit__repos_path}/$1
# gitweb
-<Directory {core/plugins_path}/scmgit/cgi-bin>
- SetEnv GITWEB_CONFIG {core/config_path}/plugins/scmgit/gitweb.conf
+<Directory ${FF__core__plugins_path}/scmgit/cgi-bin>
+ SetEnv GITWEB_CONFIG ${FF__core__config_path}/plugins/scmgit/gitweb.conf
Require all granted
</Directory>
-ScriptAlias /anonscm/gitweb {core/plugins_path}/scmgit/cgi-bin/gitweb.cgi
+ScriptAlias /anonscm/gitweb ${FF__core__plugins_path}/scmgit/cgi-bin/gitweb.cgi
-ScriptAliasMatch ^/authscm/[^/]+/gitweb/$ {core/plugins_path}/scmgit/cgi-bin/gitweb.cgi
+ScriptAliasMatch ^/authscm/[^/]+/gitweb/$ ${FF__core__plugins_path}/scmgit/cgi-bin/gitweb.cgi
# Redirect URLs from FF < 6.0 (scm_host -> scm_host)