# viewvc configuration Alias /viewvc /var/www/viewvc <Directory /var/www/viewvc> Allow from all </Directory> <LocationMatch "^/cgi-bin/(query|viewvc).cgi"> Order deny,allow Deny from all Allow from 127.0.0.1 ErrorDocument 403 "Access denied per /etc/httpd/conf/webapps.d/viewvc.conf" </LocationMatch> <IfModule mod_python.c> Alias /viewvc-mp /usr/share/viewvc/bin/mod_python/viewvc.py <Directory /usr/share/viewvc/bin/mod_python> AddHandler python-program .py PythonHandler handler Order allow,deny Allow from 127.0.0.1 ErrorDocument 403 "Access denied per /etc/httpd/conf/webapps.d/viewvc.conf" </Directory> </IfModule>