WSGIScriptAlias /viewvc __python_sitelib__/viewvc/bin/wsgi/viewvc.wsgi
Alias /viewvc-static __datadir__/viewvc/templates/docroot
<Directory __python_sitelib__/viewvc/bin/wsgi>
Options -Indexes
<Files viewvc.wsgi>
<IfModule mod_authz_core.c>
# Apache 2.4
Require local
</IfModule>
<IfModule !mod_authz_core.c>
# Apache 2.2
Order allow,deny
Allow from 127.0.0.1
Allow from ::1
</IfModule>
</Files>
</Directory>
<Directory __datadir__/viewvc/templates/docroot>
Options -Indexes
<IfModule mod_authz_core.c>
# Apache 2.4
Require local
</IfModule>
<IfModule !mod_authz_core.c>
# Apache 2.2
Order allow,deny
Allow from 127.0.0.1
Allow from ::1
</IfModule>
</Directory>