Sophie

Sophie

distrib > Mageia > 1 > x86_64 > by-pkgid > 0db0f74ed7d8ff9a06c9bbca3ccd112a > files > 1

viewvc-1.1.15-1.mga1.noarch.rpm

# 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>