EPrints::Apache - Generates Apache configuration for EPrints repository archives.
Generates Apache configuration in both cfg/apache/ and cfg/apache_ssl/ for the archives instantiated for this EPrints repository. Determined by the configuration defined in each archive's cfg/cfg.d/10_core.pl.
Additional non-SSL configuration can be added to the archive's cfg/apachevhost.conf. <VirtualHost> for SSL configuration should be defined in an archive's ssl/securevhost.conf.
$conf = EPrints::Apache::apache_conf( $repo )
Generate and return the <VirtualHost> declaration for this repository.
N.B. Apache v2.4 introduced some new API for access-control which deprecates the former Order allow,deny directive. Apache's version by testing if mod_authz_core.c is available (that module was added in 2.4).
© Copyright 2022 University of Southampton.
EPrints 3.4 is supplied by EPrints Services.
This file is part of EPrints 3.4 http://www.eprints.org/.
EPrints 3.4 and this file are released under the terms of the GNU Lesser General Public License version 3 as published by the Free Software Foundation unless otherwise stated.
EPrints 3.4 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with EPrints 3.4. If not, see http://www.gnu.org/licenses/.