/etc/httpd/conf.d/viewvc-fcgi.conf - CentOS Linux 7

This is the default example configuration of viewvc-fcgi.conf provided by Apache. This config file was generated by Apache running on CentOS 7.

It is located under: /etc/httpd/conf.d/viewvc-fcgi.conf

    ScriptAlias /viewvc /usr/lib/python2.7/site-packages/viewvc/bin/wsgi/viewvc.fcgi
Alias /viewvc-static /usr/share/viewvc/templates/docroot

<Directory /usr/lib/python2.7/site-packages/viewvc/bin/wsgi>
    Options -Indexes
    <Files viewvc.fcgi>
        <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 /usr/share/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>

    
  

Config Details

Location
/etc/httpd/conf.d/viewvc-fcgi.conf
Operating system
CentOS Linux 7
Length
31 lines
MD5 checksum
30fcaba5ed1b7a07cbf20c417076f394

Usage

Download the raw file with wget or curl

Wget

wget -O viewvc-fcgi.conf.example http://exampleconfig.com/static/raw/apache/centos7/etc/httpd/conf.d/viewvc-fcgi.conf

cURL

curl http://exampleconfig.com/static/raw/apache/centos7/etc/httpd/conf.d/viewvc-fcgi.conf > viewvc-fcgi.conf.example