Single copy of Preambula can be used to serve multiple sites at same time. To use Preambula in multisite mode do following:
.htaccess
and _handler.php
from public_html
to each created directoryDocumentRoot
(in VirtualHost sections of Apache config file) or just root
(in "server" blocks of nginx config)If you need specific config for one or more of this sites, copy config.php
file to domain.name.config.php (i.e. domain1.example.com.config.php) and change the name of config file in _handler.php
(string require __DIR__.'/../config.php';
) in appropriate directory.