EPrints 2.2 Documentation - generate_apacheconf command



NAME

generate_apacheconf - Create the apache config files needed for EPrints


SYNOPSIS

generate_apacheconf [options]


DESCRIPTION

This script generates the apache config files which will be used by EPrints. In the simple case all you need to do is run this script then add a line to your main apache configuration file - often, but not always, /usr/local/apache/conf/httpd.conf

 Include /opt/eprints2/cfg/apache.conf

Or elsewhere if you installed EPrints somewhere other than /opt/eprints2. This file then uses the ``Include'' directive to include all relevant apache config files from this EPrints installation.

By default the virtualhost directives are

 <VirtualHost *>

But the * can be changed to something different by editing the <virtualhost> option in SystemSettings.pm


ARGUMENTS


OPTIONS

--help
Print a brief help message and exit.

--man
Print the full manual page and then exit.

--quiet
Be vewwy vewwy quiet. This option will supress all output unless an error occurs.

--verbose
Explain in detail what is going on. May be repeated for greater effect.

--version
Output version information and exit.


FILES

EPRINTS/cfg/apache.conf
This file is not updated if it already exists, so you can add system-wide apache configuration directives here. By default it just includes the two other system wide files: auto-apache-includes.conf and auto-apache.conf

EPRINTS/cfg/auto-apache-includes.conf
This file is updated with Include lines to each of the archive specific apache config files. This file should not be edited by hand,

EPRINTS/cfg/auto-apache.conf
This file contains the system wide apache directives required by EPrints. This file should not be edited by hand.

EPRINTS/archives/ARCHIVEDIR/cfg/apache.conf
This file is not updated if it already exists, so you can add archive-specific apache configuration directives here. By default it just includes the automatically generated archive specific file: auto-apache.conf

EPRINTS/archives/ARCHIVEDIR/cfg/auto-apache.conf
This file contains all the configuration directives needed for an archive. This is where the bulk of the configuration appears, the clever stuff, if you will. This file should not be edited by hand.

EPRINTS/archives/ARCHIVEDIR/cfg/apachevhost.conf
This file is not updated if it already exists, it is included into the virutalhost in auto-apache.conf so that you can a couple of additional directives if you need to. For example, redirects or additional log directives.


AUTHOR

This is part of this EPrints 2 system. EPrints 2 is developed by Christopher Gutteridge.


VERSION

EPrints Version: 2.2.1


CONTACT

For more information goto http://www.eprints.org/ which give information on mailing lists and the like.

Chris Gutteridge may be contacted at support@eprints.org

Should you need a real world address for some reason, EPrints can be contacted in the real world at

 EPrints c/o Christopher Gutteridge
 Department of Electronics and Computer Science
 University of Southampton
 SO17 1BJ
 United Kingdom


COPYRIGHT

This file is part of EPrints 2.

Copyright (c) 2000,2001,2002 University of Southampton, UK. SO17 1BJ.

EPrints 2 is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

EPrints 2 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 General Public License for more details.

You should have received a copy of the GNU General Public License along with EPrints 2; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

 EPrints 2.2 Documentation - generate_apacheconf command