OBS-URL: https://build.opensuse.org/request/show/910316 OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm:svn/viewvc?expand=0&rev=66
41 lines
959 B
Plaintext
41 lines
959 B
Plaintext
# Example configuration for a subversion viewvc repository
|
|
#
|
|
# put the string SVN_VIEWCVS in /etc/sysconfig/apache2 APACHE_SERVER_FLAGS
|
|
# to enable the URL
|
|
# http://localhost/viewvc
|
|
<IfDefine SVN_VIEWCVS>
|
|
<IfModule mod_rewrite.c>
|
|
RewriteEngine On
|
|
RewriteRule /viewcvs(.*) /viewvc$1 [L,R]
|
|
</IfModule>
|
|
|
|
ScriptAlias /viewvc /srv/viewvc/bin/cgi/viewvc.cgi
|
|
|
|
<Directory "/srv/viewvc/bin/cgi">
|
|
AllowOverride None
|
|
Options +ExecCGI
|
|
<IfModule mod_authz_core.c>
|
|
Require all granted
|
|
</IfModule>
|
|
<IfModule !mod_authz_core.c>
|
|
Order allow,deny
|
|
Allow from all
|
|
</IfModule>
|
|
</Directory>
|
|
|
|
# apache can serve the static files directly
|
|
Alias /viewvc-docroot "/srv/viewvc/templates/default/docroot"
|
|
<Directory /srv/viewvc/templates/default/docroot>
|
|
AllowOverride None
|
|
<IfModule mod_authz_core.c>
|
|
Require all granted
|
|
</IfModule>
|
|
<IfModule !mod_authz_core.c>
|
|
Order allow,deny
|
|
Allow from all
|
|
</IfModule>
|
|
</Directory>
|
|
|
|
</IfDefine>
|
|
|