/etc/fusionforge/httpd.conf.d/vhost-scm-plugin-scmsvn.inc is in fusionforge-plugin-scmsvn 6.0.5-2ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | <Directory ${FF__scmsvn__repos_path}>
Include ${FF__core__config_path}/httpd.conf.d/disable-scripts.inc
</Directory>
# Read-only access for public repos
<Location /anonscm/svn/>
DAV svn
SVNParentPath ${FF__scmsvn__repos_path}
# allow read-only browsing
<LimitExcept GET PROPFIND OPTIONS REPORT>
</LimitExcept>
</Location>
# SVN tools
<Directory ${FF__core__plugins_path}/scmsvn/libexec>
Require all granted
</Directory>
# ViewVC
ScriptAliasMatch ^/authscm/[^/]+/viewvc(.*) ${FF__core__plugins_path}/scmsvn/libexec/viewvc.cgi$1
# Authentified via cookie in viewvc.php:
<LocationMatch "^/authscm/[^/]+/viewvc">
Satisfy Any
</LocationMatch>
ScriptAlias /anonscm/viewvc ${FF__core__plugins_path}/scmsvn/libexec/viewvc.cgi
#Alias /doc/viewvc /usr/share/viewvc/docroot
# Activity
ScriptAliasMatch ^/authscm/[^/]+/svnlog(.*) ${FF__core__plugins_path}/scmsvn/libexec/svnlog.php$1
# Authentified via cookie in svnlog.php:
<LocationMatch "^/authscm/[^/]+/svnlog">
Satisfy Any
</LocationMatch>
ScriptAlias /anonscm/svnlog ${FF__core__plugins_path}/scmsvn/libexec/svnlog.php
# Redirect URLs from FF < 6.0 (scm_host -> scm_host)
# Note: ViewVC URLs are backward-compatible through proxying in viewvc.php
<IfModule mod_authz_svn.c>
Alias /svn ${FF__core__plugins_path}/scmsvn/www/redirect-to-itk.php
</IfModule>
<IfModule !mod_authz_svn.c>
Redirect permanent /svn /anonscm/svn/
</IfModule>
<LocationMatch "^/authscm/[^/]+/svn/">
AuthName "${FF__scmsvn__apache_auth_realm}"
</LocationMatch>
|