File webtrees.conf of Package webtrees

# To offer webtrees via Apache, add the followind Alias
# to your server's configuration
# Alias /webtrees "WEBTREESDIR"

<Directory "WEBTREESDIR">
  Options None
  AllowOverride None
  php_admin_flag safe_mode off
  php_admin_value open_basedir WEBTREESDIR/:WEBDATAROOT/:PHPLIBDIR

  <IfVersion >= 2.4>
    <IfModule mod_access_compat.c>
      Order allow,deny
      #Allow from 127.0.0.1
      Allow from all
    </IfModule>
    Require all granted
  </IfVersion>
  <IfVersion < 2.4>
    Order allow,deny
    #Allow from 127.0.0.1
    Allow from all
  </IfVersion>
</Directory>

<Directory "WEBDATAROOT">
  <IfVersion >= 2.4>
    Require all denied
  </IfVersion>
  <IfVersion < 2.4>
    Order allow,deny
    Deny from all
  </IfVersion>
</Directory>

<Directory "WEBTREESDIR/library/ezyang/htmlpurifier/benchmarks">
  <IfVersion >= 2.4>
    Require all denied
  </IfVersion>
  <IfVersion < 2.4>
    Order allow,deny
    Deny from all
  </IfVersion>
</Directory>

<Directory "WEBTREESDIR/library/ezyang/htmlpurifier/maintenance">
  <IfVersion >= 2.4>
    Require all denied
  </IfVersion>
  <IfVersion < 2.4>
    Order allow,deny
    Deny from all
  </IfVersion>
</Directory>

<Directory "WEBTREESDIR/library/tecnick.com/tcpdf/tools">
  <IfVersion >= 2.4>
    Require all denied
  </IfVersion>
  <IfVersion < 2.4>
    Order allow,deny
    Deny from all
  </IfVersion>
</Directory>