<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://wiki.eprints.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Tmb</id>
	<title>EPrints Documentation - User contributions [en-gb]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.eprints.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Tmb"/>
	<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/Special:Contributions/Tmb"/>
	<updated>2026-04-21T12:24:07Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.8</generator>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=Import_From_ORCID&amp;diff=10932</id>
		<title>Import From ORCID</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=Import_From_ORCID&amp;diff=10932"/>
		<updated>2014-03-14T11:08:14Z</updated>

		<summary type="html">&lt;p&gt;Tmb: /* Overview */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Concept ==&lt;br /&gt;
&lt;br /&gt;
'''Import from ORCID''' is a simple plugin for EPrints that demonstrates how publications could be imported into EPrints for a given author identified by an ORCID, using the ORCID Tier 1 (public) API.&lt;br /&gt;
&lt;br /&gt;
== For Developers: Technical Details ==&lt;br /&gt;
&lt;br /&gt;
Given an author's ORCID, the plugin queries the ORCID Tier 1 API and retrieves a list of works published by that author in JSON format.&lt;br /&gt;
&lt;br /&gt;
The metadata describing each work may include a ''work-citation-format'' (for example, BIBTEX) and/or multiple ''work-external-identifier-type'' (for example, DOI, PMID) elements - where the ''work-citation-format'' or ''work-external-identifier-type'' can be mapped to an EPrints import plugin an Import option is displayed next to the work.&lt;br /&gt;
&lt;br /&gt;
== For Administrators: Testing the Concept ==&lt;br /&gt;
&lt;br /&gt;
1. After installing, an ORCID button appears on the Admin screen.&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_admin.png|400px|thumb|none]]&lt;br /&gt;
&lt;br /&gt;
2. Enter an author's ORCID to search for their published works.&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_enter_orcid.png|400px|thumb|none]]&lt;br /&gt;
&lt;br /&gt;
3. Search results retrieved and listed with import options where available.&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_search_results.png|400px|thumb|none]]&lt;br /&gt;
&lt;br /&gt;
4. Clicking Import takes you to the default EPrints import screen.&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_import.png|400px|thumb|none]]&lt;br /&gt;
&lt;br /&gt;
5. After importing the item, you are taken to the deposit workflow where you can edit and deposit the item.&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_edit_item.png|400px|thumb|none]]&lt;/div&gt;</summary>
		<author><name>Tmb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=Import_From_ORCID&amp;diff=10931</id>
		<title>Import From ORCID</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=Import_From_ORCID&amp;diff=10931"/>
		<updated>2014-03-14T11:07:43Z</updated>

		<summary type="html">&lt;p&gt;Tmb: /* Overview */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overview ==&lt;br /&gt;
&lt;br /&gt;
'''Import from ORCID''' is a simple plugin for EPrints that demonstrates how publications could be imported into EPrints for a given author identified by an ORCID, using the ORCID Tier 1 (public) API.&lt;br /&gt;
&lt;br /&gt;
== For Developers: Technical Details ==&lt;br /&gt;
&lt;br /&gt;
Given an author's ORCID, the plugin queries the ORCID Tier 1 API and retrieves a list of works published by that author in JSON format.&lt;br /&gt;
&lt;br /&gt;
The metadata describing each work may include a ''work-citation-format'' (for example, BIBTEX) and/or multiple ''work-external-identifier-type'' (for example, DOI, PMID) elements - where the ''work-citation-format'' or ''work-external-identifier-type'' can be mapped to an EPrints import plugin an Import option is displayed next to the work.&lt;br /&gt;
&lt;br /&gt;
== For Administrators: Testing the Concept ==&lt;br /&gt;
&lt;br /&gt;
1. After installing, an ORCID button appears on the Admin screen.&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_admin.png|400px|thumb|none]]&lt;br /&gt;
&lt;br /&gt;
2. Enter an author's ORCID to search for their published works.&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_enter_orcid.png|400px|thumb|none]]&lt;br /&gt;
&lt;br /&gt;
3. Search results retrieved and listed with import options where available.&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_search_results.png|400px|thumb|none]]&lt;br /&gt;
&lt;br /&gt;
4. Clicking Import takes you to the default EPrints import screen.&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_import.png|400px|thumb|none]]&lt;br /&gt;
&lt;br /&gt;
5. After importing the item, you are taken to the deposit workflow where you can edit and deposit the item.&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_edit_item.png|400px|thumb|none]]&lt;/div&gt;</summary>
		<author><name>Tmb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=Import_From_ORCID&amp;diff=10930</id>
		<title>Import From ORCID</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=Import_From_ORCID&amp;diff=10930"/>
		<updated>2014-03-14T11:07:19Z</updated>

		<summary type="html">&lt;p&gt;Tmb: /* Overview */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overview ==&lt;br /&gt;
&lt;br /&gt;
'''Import from ORCID''' is a simple plugin for EPrints that demonstrates how publications could be imported into EPrints for a given author identified by an ORCID.&lt;br /&gt;
&lt;br /&gt;
== For Developers: Technical Details ==&lt;br /&gt;
&lt;br /&gt;
Given an author's ORCID, the plugin queries the ORCID Tier 1 API and retrieves a list of works published by that author in JSON format.&lt;br /&gt;
&lt;br /&gt;
The metadata describing each work may include a ''work-citation-format'' (for example, BIBTEX) and/or multiple ''work-external-identifier-type'' (for example, DOI, PMID) elements - where the ''work-citation-format'' or ''work-external-identifier-type'' can be mapped to an EPrints import plugin an Import option is displayed next to the work.&lt;br /&gt;
&lt;br /&gt;
== For Administrators: Testing the Concept ==&lt;br /&gt;
&lt;br /&gt;
1. After installing, an ORCID button appears on the Admin screen.&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_admin.png|400px|thumb|none]]&lt;br /&gt;
&lt;br /&gt;
2. Enter an author's ORCID to search for their published works.&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_enter_orcid.png|400px|thumb|none]]&lt;br /&gt;
&lt;br /&gt;
3. Search results retrieved and listed with import options where available.&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_search_results.png|400px|thumb|none]]&lt;br /&gt;
&lt;br /&gt;
4. Clicking Import takes you to the default EPrints import screen.&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_import.png|400px|thumb|none]]&lt;br /&gt;
&lt;br /&gt;
5. After importing the item, you are taken to the deposit workflow where you can edit and deposit the item.&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_edit_item.png|400px|thumb|none]]&lt;/div&gt;</summary>
		<author><name>Tmb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=Import_From_ORCID&amp;diff=10929</id>
		<title>Import From ORCID</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=Import_From_ORCID&amp;diff=10929"/>
		<updated>2014-03-14T11:06:27Z</updated>

		<summary type="html">&lt;p&gt;Tmb: /* User Guide */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overview ==&lt;br /&gt;
&lt;br /&gt;
'''Import from ORCID''' is a simple plugin for EPrints that demonstrates how publications could be imported into EPrints for a given author identified by an ORCID.&lt;br /&gt;
&lt;br /&gt;
The plugin demonstrates how an EPrints repository can interface with the ORCID Tier 1 (public) API.&lt;br /&gt;
&lt;br /&gt;
== For Developers: Technical Details ==&lt;br /&gt;
&lt;br /&gt;
Given an author's ORCID, the plugin queries the ORCID Tier 1 API and retrieves a list of works published by that author in JSON format.&lt;br /&gt;
&lt;br /&gt;
The metadata describing each work may include a ''work-citation-format'' (for example, BIBTEX) and/or multiple ''work-external-identifier-type'' (for example, DOI, PMID) elements - where the ''work-citation-format'' or ''work-external-identifier-type'' can be mapped to an EPrints import plugin an Import option is displayed next to the work.&lt;br /&gt;
&lt;br /&gt;
== For Administrators: Testing the Concept ==&lt;br /&gt;
&lt;br /&gt;
1. After installing, an ORCID button appears on the Admin screen.&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_admin.png|400px|thumb|none]]&lt;br /&gt;
&lt;br /&gt;
2. Enter an author's ORCID to search for their published works.&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_enter_orcid.png|400px|thumb|none]]&lt;br /&gt;
&lt;br /&gt;
3. Search results retrieved and listed with import options where available.&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_search_results.png|400px|thumb|none]]&lt;br /&gt;
&lt;br /&gt;
4. Clicking Import takes you to the default EPrints import screen.&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_import.png|400px|thumb|none]]&lt;br /&gt;
&lt;br /&gt;
5. After importing the item, you are taken to the deposit workflow where you can edit and deposit the item.&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_edit_item.png|400px|thumb|none]]&lt;/div&gt;</summary>
		<author><name>Tmb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=Import_From_ORCID&amp;diff=10928</id>
		<title>Import From ORCID</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=Import_From_ORCID&amp;diff=10928"/>
		<updated>2014-03-14T11:06:09Z</updated>

		<summary type="html">&lt;p&gt;Tmb: /* Technical Details */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overview ==&lt;br /&gt;
&lt;br /&gt;
'''Import from ORCID''' is a simple plugin for EPrints that demonstrates how publications could be imported into EPrints for a given author identified by an ORCID.&lt;br /&gt;
&lt;br /&gt;
The plugin demonstrates how an EPrints repository can interface with the ORCID Tier 1 (public) API.&lt;br /&gt;
&lt;br /&gt;
== For Developers: Technical Details ==&lt;br /&gt;
&lt;br /&gt;
Given an author's ORCID, the plugin queries the ORCID Tier 1 API and retrieves a list of works published by that author in JSON format.&lt;br /&gt;
&lt;br /&gt;
The metadata describing each work may include a ''work-citation-format'' (for example, BIBTEX) and/or multiple ''work-external-identifier-type'' (for example, DOI, PMID) elements - where the ''work-citation-format'' or ''work-external-identifier-type'' can be mapped to an EPrints import plugin an Import option is displayed next to the work.&lt;br /&gt;
&lt;br /&gt;
== User Guide ==&lt;br /&gt;
&lt;br /&gt;
1. After installing, an ORCID button appears on the Admin screen.&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_admin.png|400px|thumb|none]]&lt;br /&gt;
&lt;br /&gt;
2. Enter an author's ORCID to search for their published works.&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_enter_orcid.png|400px|thumb|none]]&lt;br /&gt;
&lt;br /&gt;
3. Search results retrieved and listed with import options where available.&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_search_results.png|400px|thumb|none]]&lt;br /&gt;
&lt;br /&gt;
4. Clicking Import takes you to the default EPrints import screen.&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_import.png|400px|thumb|none]]&lt;br /&gt;
&lt;br /&gt;
5. After importing the item, you are taken to the deposit workflow where you can edit and deposit the item.&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_edit_item.png|400px|thumb|none]]&lt;/div&gt;</summary>
		<author><name>Tmb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=Import_From_ORCID&amp;diff=10927</id>
		<title>Import From ORCID</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=Import_From_ORCID&amp;diff=10927"/>
		<updated>2014-03-14T11:05:45Z</updated>

		<summary type="html">&lt;p&gt;Tmb: /* Overview */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overview ==&lt;br /&gt;
&lt;br /&gt;
'''Import from ORCID''' is a simple plugin for EPrints that demonstrates how publications could be imported into EPrints for a given author identified by an ORCID.&lt;br /&gt;
&lt;br /&gt;
The plugin demonstrates how an EPrints repository can interface with the ORCID Tier 1 (public) API.&lt;br /&gt;
&lt;br /&gt;
== Technical Details ==&lt;br /&gt;
&lt;br /&gt;
Given an author's ORCID, the plugin queries the ORCID Tier 1 API and retrieves a list of works published by that author in JSON format.&lt;br /&gt;
&lt;br /&gt;
The metadata describing each work may include a ''work-citation-format'' (for example, BIBTEX) and/or multiple ''work-external-identifier-type'' (for example, DOI, PMID) elements - where the ''work-citation-format'' or ''work-external-identifier-type'' can be mapped to an EPrints import plugin an Import option is displayed next to the work.&lt;br /&gt;
&lt;br /&gt;
== User Guide ==&lt;br /&gt;
&lt;br /&gt;
1. After installing, an ORCID button appears on the Admin screen.&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_admin.png|400px|thumb|none]]&lt;br /&gt;
&lt;br /&gt;
2. Enter an author's ORCID to search for their published works.&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_enter_orcid.png|400px|thumb|none]]&lt;br /&gt;
&lt;br /&gt;
3. Search results retrieved and listed with import options where available.&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_search_results.png|400px|thumb|none]]&lt;br /&gt;
&lt;br /&gt;
4. Clicking Import takes you to the default EPrints import screen.&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_import.png|400px|thumb|none]]&lt;br /&gt;
&lt;br /&gt;
5. After importing the item, you are taken to the deposit workflow where you can edit and deposit the item.&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_edit_item.png|400px|thumb|none]]&lt;/div&gt;</summary>
		<author><name>Tmb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=Import_From_ORCID&amp;diff=10926</id>
		<title>Import From ORCID</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=Import_From_ORCID&amp;diff=10926"/>
		<updated>2014-03-14T10:54:11Z</updated>

		<summary type="html">&lt;p&gt;Tmb: /* Technical Details */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overview ==&lt;br /&gt;
&lt;br /&gt;
'''Import from ORCID''' is a simple plugin for EPrints that allows you to import publications for a given author identified by an ORCID.&lt;br /&gt;
&lt;br /&gt;
The plugin demonstrates how an EPrints repository can interface with the ORCID Tier 1 (public) API.&lt;br /&gt;
&lt;br /&gt;
== Technical Details ==&lt;br /&gt;
&lt;br /&gt;
Given an author's ORCID, the plugin queries the ORCID Tier 1 API and retrieves a list of works published by that author in JSON format.&lt;br /&gt;
&lt;br /&gt;
The metadata describing each work may include a ''work-citation-format'' (for example, BIBTEX) and/or multiple ''work-external-identifier-type'' (for example, DOI, PMID) elements - where the ''work-citation-format'' or ''work-external-identifier-type'' can be mapped to an EPrints import plugin an Import option is displayed next to the work.&lt;br /&gt;
&lt;br /&gt;
== User Guide ==&lt;br /&gt;
&lt;br /&gt;
1. After installing, an ORCID button appears on the Admin screen.&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_admin.png|400px|thumb|none]]&lt;br /&gt;
&lt;br /&gt;
2. Enter an author's ORCID to search for their published works.&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_enter_orcid.png|400px|thumb|none]]&lt;br /&gt;
&lt;br /&gt;
3. Search results retrieved and listed with import options where available.&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_search_results.png|400px|thumb|none]]&lt;br /&gt;
&lt;br /&gt;
4. Clicking Import takes you to the default EPrints import screen.&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_import.png|400px|thumb|none]]&lt;br /&gt;
&lt;br /&gt;
5. After importing the item, you are taken to the deposit workflow where you can edit and deposit the item.&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_edit_item.png|400px|thumb|none]]&lt;/div&gt;</summary>
		<author><name>Tmb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=Import_From_ORCID&amp;diff=10925</id>
		<title>Import From ORCID</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=Import_From_ORCID&amp;diff=10925"/>
		<updated>2014-03-14T10:53:58Z</updated>

		<summary type="html">&lt;p&gt;Tmb: /* Overview */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overview ==&lt;br /&gt;
&lt;br /&gt;
'''Import from ORCID''' is a simple plugin for EPrints that allows you to import publications for a given author identified by an ORCID.&lt;br /&gt;
&lt;br /&gt;
The plugin demonstrates how an EPrints repository can interface with the ORCID Tier 1 (public) API.&lt;br /&gt;
&lt;br /&gt;
== Technical Details ==&lt;br /&gt;
&lt;br /&gt;
Given an author's ORCID, the plugin queries the orcid.com Tier 1 (public) API and retrieves a list of works published by that author in JSON format.&lt;br /&gt;
&lt;br /&gt;
The metadata describing each work may include a ''work-citation-format'' (for example, BIBTEX) and/or multiple ''work-external-identifier-type'' (for example, DOI, PMID) elements - where the ''work-citation-format'' or ''work-external-identifier-type'' can be mapped to an EPrints import plugin an Import option is displayed next to the work.&lt;br /&gt;
&lt;br /&gt;
== User Guide ==&lt;br /&gt;
&lt;br /&gt;
1. After installing, an ORCID button appears on the Admin screen.&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_admin.png|400px|thumb|none]]&lt;br /&gt;
&lt;br /&gt;
2. Enter an author's ORCID to search for their published works.&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_enter_orcid.png|400px|thumb|none]]&lt;br /&gt;
&lt;br /&gt;
3. Search results retrieved and listed with import options where available.&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_search_results.png|400px|thumb|none]]&lt;br /&gt;
&lt;br /&gt;
4. Clicking Import takes you to the default EPrints import screen.&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_import.png|400px|thumb|none]]&lt;br /&gt;
&lt;br /&gt;
5. After importing the item, you are taken to the deposit workflow where you can edit and deposit the item.&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_edit_item.png|400px|thumb|none]]&lt;/div&gt;</summary>
		<author><name>Tmb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=Import_From_ORCID&amp;diff=10924</id>
		<title>Import From ORCID</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=Import_From_ORCID&amp;diff=10924"/>
		<updated>2014-03-14T10:46:22Z</updated>

		<summary type="html">&lt;p&gt;Tmb: /* User Guide */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overview ==&lt;br /&gt;
&lt;br /&gt;
'''Import from ORCID''' is a plugin for EPrints that allows you to import publications for a given author identified by an ORCID.&lt;br /&gt;
&lt;br /&gt;
The plugin demonstrates how an EPrints repository can interface with the ORCID Tier 1 API.&lt;br /&gt;
&lt;br /&gt;
== Technical Details ==&lt;br /&gt;
&lt;br /&gt;
Given an author's ORCID, the plugin queries the orcid.com Tier 1 (public) API and retrieves a list of works published by that author in JSON format.&lt;br /&gt;
&lt;br /&gt;
The metadata describing each work may include a ''work-citation-format'' (for example, BIBTEX) and/or multiple ''work-external-identifier-type'' (for example, DOI, PMID) elements - where the ''work-citation-format'' or ''work-external-identifier-type'' can be mapped to an EPrints import plugin an Import option is displayed next to the work.&lt;br /&gt;
&lt;br /&gt;
== User Guide ==&lt;br /&gt;
&lt;br /&gt;
1. After installing, an ORCID button appears on the Admin screen.&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_admin.png|400px|thumb|none]]&lt;br /&gt;
&lt;br /&gt;
2. Enter an author's ORCID to search for their published works.&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_enter_orcid.png|400px|thumb|none]]&lt;br /&gt;
&lt;br /&gt;
3. Search results retrieved and listed with import options where available.&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_search_results.png|400px|thumb|none]]&lt;br /&gt;
&lt;br /&gt;
4. Clicking Import takes you to the default EPrints import screen.&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_import.png|400px|thumb|none]]&lt;br /&gt;
&lt;br /&gt;
5. After importing the item, you are taken to the deposit workflow where you can edit and deposit the item.&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_edit_item.png|400px|thumb|none]]&lt;/div&gt;</summary>
		<author><name>Tmb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=Import_From_ORCID&amp;diff=10923</id>
		<title>Import From ORCID</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=Import_From_ORCID&amp;diff=10923"/>
		<updated>2014-03-14T10:44:55Z</updated>

		<summary type="html">&lt;p&gt;Tmb: /* Technical Details */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overview ==&lt;br /&gt;
&lt;br /&gt;
'''Import from ORCID''' is a plugin for EPrints that allows you to import publications for a given author identified by an ORCID.&lt;br /&gt;
&lt;br /&gt;
The plugin demonstrates how an EPrints repository can interface with the ORCID Tier 1 API.&lt;br /&gt;
&lt;br /&gt;
== Technical Details ==&lt;br /&gt;
&lt;br /&gt;
Given an author's ORCID, the plugin queries the orcid.com Tier 1 (public) API and retrieves a list of works published by that author in JSON format.&lt;br /&gt;
&lt;br /&gt;
The metadata describing each work may include a ''work-citation-format'' (for example, BIBTEX) and/or multiple ''work-external-identifier-type'' (for example, DOI, PMID) elements - where the ''work-citation-format'' or ''work-external-identifier-type'' can be mapped to an EPrints import plugin an Import option is displayed next to the work.&lt;br /&gt;
&lt;br /&gt;
== User Guide ==&lt;br /&gt;
&lt;br /&gt;
1. After installing, an ORCID button appears on the Admin screen.&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_admin.png|400px|thumb|none]]&lt;br /&gt;
&lt;br /&gt;
2. Enter an ORCID to search for published works.&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_enter_orcid.png|400px|thumb|none]]&lt;br /&gt;
&lt;br /&gt;
3. Search results are listed with import options where available (import from DOI or import from PubMed ID).&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_search_results.png|400px|thumb|none]]&lt;br /&gt;
&lt;br /&gt;
4. Clicking Import takes you to the standard Import screen.&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_import.png|400px|thumb|none]]&lt;br /&gt;
&lt;br /&gt;
5. After importing the item, you are taken to the deposit workflow where you can edit and deposit the item.&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_edit_item.png|400px|thumb|none]]&lt;/div&gt;</summary>
		<author><name>Tmb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=Import_From_ORCID&amp;diff=10922</id>
		<title>Import From ORCID</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=Import_From_ORCID&amp;diff=10922"/>
		<updated>2014-03-14T10:43:55Z</updated>

		<summary type="html">&lt;p&gt;Tmb: /* Overview */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overview ==&lt;br /&gt;
&lt;br /&gt;
'''Import from ORCID''' is a plugin for EPrints that allows you to import publications for a given author identified by an ORCID.&lt;br /&gt;
&lt;br /&gt;
The plugin demonstrates how an EPrints repository can interface with the ORCID Tier 1 API.&lt;br /&gt;
&lt;br /&gt;
== Technical Details ==&lt;br /&gt;
&lt;br /&gt;
Given an author's ORCID, the plugin queries the orcid.com Tier 1 (public) API and retrieves a list of works published by that author in JSON format.&lt;br /&gt;
&lt;br /&gt;
The metadata describing each work may include a ''work-citation-format'' (for example, BibTeX) and/or multiple ''work-external-identifier-type'' (for example, DOI, PubMed ID) elements - where the ''work-citation-format'' or ''work-external-identifier-type'' can be mapped to an EPrints import plugin an Import option is displayed next to the work.&lt;br /&gt;
&lt;br /&gt;
== User Guide ==&lt;br /&gt;
&lt;br /&gt;
1. After installing, an ORCID button appears on the Admin screen.&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_admin.png|400px|thumb|none]]&lt;br /&gt;
&lt;br /&gt;
2. Enter an ORCID to search for published works.&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_enter_orcid.png|400px|thumb|none]]&lt;br /&gt;
&lt;br /&gt;
3. Search results are listed with import options where available (import from DOI or import from PubMed ID).&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_search_results.png|400px|thumb|none]]&lt;br /&gt;
&lt;br /&gt;
4. Clicking Import takes you to the standard Import screen.&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_import.png|400px|thumb|none]]&lt;br /&gt;
&lt;br /&gt;
5. After importing the item, you are taken to the deposit workflow where you can edit and deposit the item.&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_edit_item.png|400px|thumb|none]]&lt;/div&gt;</summary>
		<author><name>Tmb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=Import_From_ORCID&amp;diff=10921</id>
		<title>Import From ORCID</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=Import_From_ORCID&amp;diff=10921"/>
		<updated>2014-03-14T10:41:13Z</updated>

		<summary type="html">&lt;p&gt;Tmb: /* Overview */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overview ==&lt;br /&gt;
&lt;br /&gt;
'''Import from ORCID''' is a plugin for EPrints that allows you to import publications for a given author identified by an ORCID.&lt;br /&gt;
&lt;br /&gt;
The plugin demonstrates how an EPrints repository can interface with the ORCID Tier 1 API.&lt;br /&gt;
&lt;br /&gt;
Given an author's ORCID, the plugin queries the Tier 1 API and retrieves a list of works published by that author.&lt;br /&gt;
&lt;br /&gt;
The metadata describing each work may include ''work-citation-format'' (for example, BibTeX) and/or multiple ''work-external-identifier-type'' (for example, DOI, PubMed ID). Where the ''work-citation-format'' or ''work-external-identifier-type'' can be mapped to an EPrints import plugin an Import option is displayed next to the work.&lt;br /&gt;
&lt;br /&gt;
== User Guide ==&lt;br /&gt;
&lt;br /&gt;
1. After installing, an ORCID button appears on the Admin screen.&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_admin.png|400px|thumb|none]]&lt;br /&gt;
&lt;br /&gt;
2. Enter an ORCID to search for published works.&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_enter_orcid.png|400px|thumb|none]]&lt;br /&gt;
&lt;br /&gt;
3. Search results are listed with import options where available (import from DOI or import from PubMed ID).&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_search_results.png|400px|thumb|none]]&lt;br /&gt;
&lt;br /&gt;
4. Clicking Import takes you to the standard Import screen.&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_import.png|400px|thumb|none]]&lt;br /&gt;
&lt;br /&gt;
5. After importing the item, you are taken to the deposit workflow where you can edit and deposit the item.&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_edit_item.png|400px|thumb|none]]&lt;/div&gt;</summary>
		<author><name>Tmb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=Import_From_ORCID&amp;diff=10920</id>
		<title>Import From ORCID</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=Import_From_ORCID&amp;diff=10920"/>
		<updated>2014-03-14T10:40:38Z</updated>

		<summary type="html">&lt;p&gt;Tmb: /* Overview */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overview ==&lt;br /&gt;
&lt;br /&gt;
'''Import from ORCID''' is a plugin for EPrints that allows you to import publications for a given author identified by an ORCID.&lt;br /&gt;
&lt;br /&gt;
The plugin demonstrates how an EPrints repository can interface with the ORCID Tier 1 API.&lt;br /&gt;
&lt;br /&gt;
Given an author's ORCID, the plugin queries the Tier 1 API and retrieves a list of works published by that author.&lt;br /&gt;
&lt;br /&gt;
The metadata describing each work may include a ''work-citation-format'' (for example, BibTeX) and/or multiple ''work-external-identifier-type'' (for example, DOI, PubMed ID). Where the ''work-citation-format'' or ''work-external-identifier-type'' can be mapped to an EPrints import plugin an Import option is displayed next to the work.&lt;br /&gt;
&lt;br /&gt;
== User Guide ==&lt;br /&gt;
&lt;br /&gt;
1. After installing, an ORCID button appears on the Admin screen.&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_admin.png|400px|thumb|none]]&lt;br /&gt;
&lt;br /&gt;
2. Enter an ORCID to search for published works.&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_enter_orcid.png|400px|thumb|none]]&lt;br /&gt;
&lt;br /&gt;
3. Search results are listed with import options where available (import from DOI or import from PubMed ID).&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_search_results.png|400px|thumb|none]]&lt;br /&gt;
&lt;br /&gt;
4. Clicking Import takes you to the standard Import screen.&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_import.png|400px|thumb|none]]&lt;br /&gt;
&lt;br /&gt;
5. After importing the item, you are taken to the deposit workflow where you can edit and deposit the item.&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_edit_item.png|400px|thumb|none]]&lt;/div&gt;</summary>
		<author><name>Tmb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=Import_From_ORCID&amp;diff=10919</id>
		<title>Import From ORCID</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=Import_From_ORCID&amp;diff=10919"/>
		<updated>2014-03-14T10:31:15Z</updated>

		<summary type="html">&lt;p&gt;Tmb: /* User Guide */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overview ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== User Guide ==&lt;br /&gt;
&lt;br /&gt;
1. After installing, an ORCID button appears on the Admin screen.&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_admin.png|400px|thumb|none]]&lt;br /&gt;
&lt;br /&gt;
2. Enter an ORCID to search for published works.&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_enter_orcid.png|400px|thumb|none]]&lt;br /&gt;
&lt;br /&gt;
3. Search results are listed with import options where available (import from DOI or import from PubMed ID).&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_search_results.png|400px|thumb|none]]&lt;br /&gt;
&lt;br /&gt;
4. Clicking Import takes you to the standard Import screen.&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_import.png|400px|thumb|none]]&lt;br /&gt;
&lt;br /&gt;
5. After importing the item, you are taken to the deposit workflow where you can edit and deposit the item.&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_edit_item.png|400px|thumb|none]]&lt;/div&gt;</summary>
		<author><name>Tmb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=Import_From_ORCID&amp;diff=10918</id>
		<title>Import From ORCID</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=Import_From_ORCID&amp;diff=10918"/>
		<updated>2014-03-14T10:28:26Z</updated>

		<summary type="html">&lt;p&gt;Tmb: /* User Guide */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overview ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== User Guide ==&lt;br /&gt;
&lt;br /&gt;
1. After installing, an ORCID button appears on the Admin screen.&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_admin.png|400px|thumb|left]]&lt;br /&gt;
&lt;br /&gt;
2. Enter an ORCID to search for published works.&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_enter_orcid.png|400px|thumb|left]]&lt;br /&gt;
&lt;br /&gt;
3. Search results are listed with import options where available (import from DOI or import from PubMed ID).&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_search_results.png|400px|thumb|left]]&lt;br /&gt;
&lt;br /&gt;
4. Clicking Import takes you to the standard Import screen.&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_import.png|400px|thumb|left]]&lt;br /&gt;
&lt;br /&gt;
5. After importing the item, you are taken to the deposit workflow where you can edit and deposit the item.&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_edit_item.png|400px|thumb|left]]&lt;/div&gt;</summary>
		<author><name>Tmb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=Import_From_ORCID&amp;diff=10917</id>
		<title>Import From ORCID</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=Import_From_ORCID&amp;diff=10917"/>
		<updated>2014-03-14T10:26:14Z</updated>

		<summary type="html">&lt;p&gt;Tmb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overview ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== User Guide ==&lt;br /&gt;
&lt;br /&gt;
1. After installing, an ORCID button appears on the Admin screen&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_admin.png|400px|thumb|left]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Enter an ORCID to search for published works&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_enter_orcid.png|400px|thumb|left]]&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_search_results.png|400px|thumb|left|3. Search results showing import options (import from DOI or import from PubMed ID)]]&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_import.png|400px|thumb|left|4. Clicking Import takes you to the standard Import screen]]&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_edit_item.png|400px|thumb|left|5. After importing the item]]&lt;/div&gt;</summary>
		<author><name>Tmb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=Import_From_ORCID&amp;diff=10916</id>
		<title>Import From ORCID</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=Import_From_ORCID&amp;diff=10916"/>
		<updated>2014-03-14T10:24:54Z</updated>

		<summary type="html">&lt;p&gt;Tmb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:import_from_orcid_admin.png|400px|thumb|left|1. After installing, an ORCID button appears on the Admin screen]]&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_enter_orcid.png|400px|thumb|left|2. Enter an ORCID to search for published works]]&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_search_results.png|400px|thumb|left|3. Search results showing import options (import from DOI or import from PubMed ID)]]&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_import.png|400px|thumb|left|4. Clicking Import takes you to the standard Import screen]]&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_edit_item.png|400px|thumb|left|5. After importing the item]]&lt;/div&gt;</summary>
		<author><name>Tmb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=File:Import_from_orcid_edit_item.png&amp;diff=10915</id>
		<title>File:Import from orcid edit item.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=File:Import_from_orcid_edit_item.png&amp;diff=10915"/>
		<updated>2014-03-14T10:22:52Z</updated>

		<summary type="html">&lt;p&gt;Tmb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Tmb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=File:Import_from_orcid_import.png&amp;diff=10914</id>
		<title>File:Import from orcid import.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=File:Import_from_orcid_import.png&amp;diff=10914"/>
		<updated>2014-03-14T10:22:36Z</updated>

		<summary type="html">&lt;p&gt;Tmb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Tmb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=File:Import_from_orcid_search_results.png&amp;diff=10913</id>
		<title>File:Import from orcid search results.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=File:Import_from_orcid_search_results.png&amp;diff=10913"/>
		<updated>2014-03-14T10:22:21Z</updated>

		<summary type="html">&lt;p&gt;Tmb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Tmb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=File:Import_from_orcid_enter_orcid.png&amp;diff=10912</id>
		<title>File:Import from orcid enter orcid.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=File:Import_from_orcid_enter_orcid.png&amp;diff=10912"/>
		<updated>2014-03-14T10:22:05Z</updated>

		<summary type="html">&lt;p&gt;Tmb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Tmb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=Import_From_ORCID&amp;diff=10911</id>
		<title>Import From ORCID</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=Import_From_ORCID&amp;diff=10911"/>
		<updated>2014-03-14T10:21:53Z</updated>

		<summary type="html">&lt;p&gt;Tmb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:import_from_orcid_admin.png|400px|thumb|left|After installing, an ORCID button appears on the Admin screen]]&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_enter_orcid.png|400px|thumb|left|]]&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_search_results.png|400px|thumb|left|]]&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_import.png|400px|thumb|left|]]&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_edit_item.png|400px|thumb|left|]]&lt;/div&gt;</summary>
		<author><name>Tmb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=Import_From_ORCID&amp;diff=10910</id>
		<title>Import From ORCID</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=Import_From_ORCID&amp;diff=10910"/>
		<updated>2014-03-14T10:20:58Z</updated>

		<summary type="html">&lt;p&gt;Tmb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:import_from_orcid_admin.png|400px|thumb|left|After installing, an ORCID button appears on the Admin screen]]&lt;/div&gt;</summary>
		<author><name>Tmb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=Import_From_ORCID&amp;diff=10909</id>
		<title>Import From ORCID</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=Import_From_ORCID&amp;diff=10909"/>
		<updated>2014-03-14T10:20:47Z</updated>

		<summary type="html">&lt;p&gt;Tmb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:import_from_orcid_admin.png|400px|thumb|right|After installing, an ORCID button appears on the Admin screen]]&lt;/div&gt;</summary>
		<author><name>Tmb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=Import_From_ORCID&amp;diff=10908</id>
		<title>Import From ORCID</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=Import_From_ORCID&amp;diff=10908"/>
		<updated>2014-03-14T10:20:21Z</updated>

		<summary type="html">&lt;p&gt;Tmb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:import_from_orcid_admin.png|thumb|frame|right|||An example MePrints User Profile||This image shows an example MePrints User Profile.]]&lt;br /&gt;
&lt;br /&gt;
[[File:import_from_orcid_admin.png|300px|thumb|right|ORCID button appears on Admin screen]]&lt;/div&gt;</summary>
		<author><name>Tmb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=Import_From_ORCID&amp;diff=10907</id>
		<title>Import From ORCID</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=Import_From_ORCID&amp;diff=10907"/>
		<updated>2014-03-14T10:19:31Z</updated>

		<summary type="html">&lt;p&gt;Tmb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:import_from_orcid_admin.png|thumb|frame|right|||An example MePrints User Profile||This image shows an example MePrints User Profile.]]&lt;br /&gt;
&lt;br /&gt;
[[File:File.png|200px|thumb|left|alt text]]&lt;/div&gt;</summary>
		<author><name>Tmb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=File:Import_from_orcid_admin.png&amp;diff=10906</id>
		<title>File:Import from orcid admin.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=File:Import_from_orcid_admin.png&amp;diff=10906"/>
		<updated>2014-03-14T10:18:05Z</updated>

		<summary type="html">&lt;p&gt;Tmb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Tmb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=Import_From_ORCID&amp;diff=10905</id>
		<title>Import From ORCID</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=Import_From_ORCID&amp;diff=10905"/>
		<updated>2014-03-14T10:17:41Z</updated>

		<summary type="html">&lt;p&gt;Tmb: Created page with ' This image shows an example MePrints User Profile.'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
[[Image:import_from_orcid_admin.png|frame|right|||An example MePrints User Profile||This image shows an example MePrints User Profile.]]&lt;/div&gt;</summary>
		<author><name>Tmb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=ApacheConfigMigration&amp;diff=10810</id>
		<title>ApacheConfigMigration</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=ApacheConfigMigration&amp;diff=10810"/>
		<updated>2013-07-18T09:14:33Z</updated>

		<summary type="html">&lt;p&gt;Tmb: /* Apache Configuration in 3.1 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Apache Configuration=&lt;br /&gt;
&lt;br /&gt;
The EPrints apache configuration is distributed across a number of files. This layout changed between EPrints version 3.1 and 3.2 - this page explains the differences and advises how to migrate to the new layout after upgrading from 3.1 to 3.2+.&lt;br /&gt;
&lt;br /&gt;
==Apache Configuration in 3.1==&lt;br /&gt;
&lt;br /&gt;
 cfg/&lt;br /&gt;
 └── apache.conf&lt;br /&gt;
 var/&lt;br /&gt;
 ├── auto-apache.conf&lt;br /&gt;
 └── auto-apache-includes.conf&lt;br /&gt;
 archives/&lt;br /&gt;
 └── &amp;lt;ARCHIVEID&amp;gt;&lt;br /&gt;
     ├── cfg&lt;br /&gt;
     │   ├── apache.conf&lt;br /&gt;
     │   └── apachevhost.conf&lt;br /&gt;
     └── var&lt;br /&gt;
         ├── auto-apache.conf&lt;br /&gt;
         └── auto-secure.conf&lt;br /&gt;
&lt;br /&gt;
''Note auto-secure.conf will only be present if using SSL&lt;br /&gt;
&lt;br /&gt;
===File Overview (3.1)===&lt;br /&gt;
&lt;br /&gt;
'''cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
* Loads files from var/&lt;br /&gt;
&lt;br /&gt;
'''var/auto-apache-includes.conf&lt;br /&gt;
&lt;br /&gt;
* Loads HTTP configuration for each repository: archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
'''var/auto-apache.conf&lt;br /&gt;
&lt;br /&gt;
* Global HTTP configuration&lt;br /&gt;
&lt;br /&gt;
'''archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
* Loads archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-apache.conf&lt;br /&gt;
&lt;br /&gt;
'''archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-apache.conf&lt;br /&gt;
&lt;br /&gt;
* VirtualHost for repository&lt;br /&gt;
* Loads archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apachevhost.conf&lt;br /&gt;
&lt;br /&gt;
'''archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apachevhost.conf&lt;br /&gt;
&lt;br /&gt;
* Empty - add custom directives here&lt;br /&gt;
&lt;br /&gt;
'''archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-secure.conf&lt;br /&gt;
&lt;br /&gt;
* Repository-specific SSL configuration (note no VirtualHost)&lt;br /&gt;
&lt;br /&gt;
===Loading into Apache (3.1)===&lt;br /&gt;
&lt;br /&gt;
'''Example 1 - Debian/Ubuntu&lt;br /&gt;
&lt;br /&gt;
HTTP - create a new &amp;quot;site&amp;quot; which loads the top level EPrints apache configuration file:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/apache2/sites-available/eprints3&lt;br /&gt;
 Include /opt/eprints3/cfg/apache.conf&lt;br /&gt;
 $ a2ensite eprints3&lt;br /&gt;
&lt;br /&gt;
SSL - load the repository-specific EPrints apache configuration file from inside an SSL VirtualHost:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/apache2/sites-available/default-ssl&lt;br /&gt;
 &amp;lt;IfModule mod_ssl.c&amp;gt;&lt;br /&gt;
 	&amp;lt;VirtualHost _default_:443&amp;gt;&lt;br /&gt;
 		...&lt;br /&gt;
 		Include /opt/eprints3/archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-secure.conf&lt;br /&gt;
 	&amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
 $ a2ensite default-ssl&lt;br /&gt;
&lt;br /&gt;
'''Example 2 - RedHat/CentOS&lt;br /&gt;
&lt;br /&gt;
HTTP - load top level EPrints apache configuration file:&lt;br /&gt;
&lt;br /&gt;
 $ tail /etc/httpd/conf/httpd.conf&lt;br /&gt;
 ...&lt;br /&gt;
 Include /opt/eprints3/cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
''Note if EPrints is installed from RPM, check /etc/httpd/conf.d/eprints.conf&lt;br /&gt;
&lt;br /&gt;
SSL - load the repository-specific SSL configuration from inside an SSL VirtualHost:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/httpd/conf.d/ssl.conf&lt;br /&gt;
 ...&lt;br /&gt;
 &amp;lt;VirtualHost _default:443&amp;gt;&lt;br /&gt;
 	...&lt;br /&gt;
 	Include /opt/eprints3/archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-secure.conf&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Apache Configuration in 3.2+==&lt;br /&gt;
&lt;br /&gt;
From 3.2 onwards things were simplified - there are fewer configuration files in a single location. The configuration files are shorter as much of the processing was moved into the EPrints::Apache::Rewrite module.&lt;br /&gt;
&lt;br /&gt;
 cfg/&lt;br /&gt;
 ├── apache.conf&lt;br /&gt;
 ├── apache&lt;br /&gt;
 │   └── &amp;lt;ARCHIVEID&amp;gt;.conf&lt;br /&gt;
 ├── apache_ssl.conf&lt;br /&gt;
 └── apache_ssl&lt;br /&gt;
     └── &amp;lt;ARCHIVEID&amp;gt;.conf&lt;br /&gt;
&lt;br /&gt;
'''Note apache_ssl* files will only be present if using SSL.&lt;br /&gt;
&lt;br /&gt;
===File Overview (3.2+)===&lt;br /&gt;
&lt;br /&gt;
'''cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
* Global configuration&lt;br /&gt;
* Loads HTTP configuration for each repository: cfg/apache/*.conf&lt;br /&gt;
&lt;br /&gt;
'''cfg/apache/&amp;lt;ARCHIVEID&amp;gt;.conf&lt;br /&gt;
&lt;br /&gt;
* VirtualHost for repository&lt;br /&gt;
* Loads archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apachevhost.conf if present&lt;br /&gt;
&lt;br /&gt;
'''cfg/apache_ssl.conf&lt;br /&gt;
&lt;br /&gt;
* Global SSL configuration&lt;br /&gt;
* Loads SSL configuration for each repository: cfg/apache_ssl/*.conf&lt;br /&gt;
&lt;br /&gt;
'''cfg/apache_ssl/&amp;lt;ARCHIVEID&amp;gt;.conf&lt;br /&gt;
&lt;br /&gt;
* Repository-specific SSL configuration (note no VirtualHost)&lt;br /&gt;
&lt;br /&gt;
===Loading into Apache (3.2+)===&lt;br /&gt;
&lt;br /&gt;
'''Example 1 - Debian/Ubuntu&lt;br /&gt;
&lt;br /&gt;
HTTP - create a new &amp;quot;site&amp;quot; which loads the top level EPrints apache configuration file:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/apache2/sites-available/eprints3&lt;br /&gt;
 Include /opt/eprints3/cfg/apache.conf&lt;br /&gt;
 $ a2ensite eprints3&lt;br /&gt;
&lt;br /&gt;
SSL - load the top level EPrints apache configuration file from inside an SSL VirtualHost:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/apache2/sites-available/default-ssl&lt;br /&gt;
 &amp;lt;IfModule mod_ssl.c&amp;gt;&lt;br /&gt;
 	&amp;lt;VirtualHost _default_:443&amp;gt;&lt;br /&gt;
 		...&lt;br /&gt;
 		Include /opt/eprints3/cfg/apache_ssl.conf&lt;br /&gt;
 	&amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
 $ a2ensite default-ssl&lt;br /&gt;
&lt;br /&gt;
''Note: this assumes a single SSL repository or multiple SSL repositories sharing the same &amp;lt;tt&amp;gt;securehost&amp;lt;/tt&amp;gt; - for multiple repositories with different &amp;lt;tt&amp;gt;securehost&amp;lt;/tt&amp;gt; settings each reposity-specific SSL configuration file may need to be loaded in a separate VirtualHost.&lt;br /&gt;
&lt;br /&gt;
'''Example 2 - RedHat/CentOS&lt;br /&gt;
&lt;br /&gt;
HTTP - load top level EPrints apache configuration file:&lt;br /&gt;
&lt;br /&gt;
 $ tail /etc/httpd/conf/httpd.conf&lt;br /&gt;
 ...&lt;br /&gt;
 Include /opt/eprints3/cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
''Note if EPrints is installed from RPM, check /etc/httpd/conf.d/eprints.conf&lt;br /&gt;
&lt;br /&gt;
SSL - load the repository-specific SSL configuration from inside an SSL VirtualHost:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/httpd/conf.d/ssl.conf&lt;br /&gt;
 ...&lt;br /&gt;
 &amp;lt;VirtualHost _default:443&amp;gt;&lt;br /&gt;
 	...&lt;br /&gt;
 	Include /opt/eprints3/cfg/apache_ssl.conf&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''Note: this assumes a single SSL repository or multiple SSL repositories sharing the same &amp;lt;tt&amp;gt;securehost&amp;lt;/tt&amp;gt; - for multiple repositories with different &amp;lt;tt&amp;gt;securehost&amp;lt;/tt&amp;gt; settings each reposity-specific SSL configuration file may need to be loaded in a separate VirtualHost.&lt;br /&gt;
&lt;br /&gt;
==Migrating apache configuration from 3.1 to 3.2+==&lt;br /&gt;
&lt;br /&gt;
This won't happen automatically when you upgrade from 3.1 to 3.2+ so follow the steps below to migrate the apache configuration after upgrading:&lt;br /&gt;
&lt;br /&gt;
# Back up the 3.1 apache configuration files&lt;br /&gt;
# Check for any custom directives added to 3.1 apache config files, in particular &amp;lt;tt&amp;gt;cfg/apache.conf&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apache.conf&amp;lt;/tt&amp;gt;&lt;br /&gt;
# Run &amp;lt;tt&amp;gt;bin/generate_apacheconf --system --replace&amp;lt;/tt&amp;gt; - this will generate the new apache configuration files as above&lt;br /&gt;
# If using SSL change the top level apache SSL configuration file to load &amp;lt;tt&amp;gt;/opt/eprints3/cfg/apache_ssl.conf&amp;lt;/tt&amp;gt; instead of &amp;lt;tt&amp;gt;/opt/eprints3/archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-secure.conf&amp;lt;/tt&amp;gt;&lt;br /&gt;
# Merge custom directives back in as appropriate (noting that custom directives may be lost if generate_apacheconf is run with the --system or --replace option)&lt;br /&gt;
# Restart apache&lt;br /&gt;
# After successful testing, the following 3.1 configuration files can be removed:&lt;br /&gt;
&lt;br /&gt;
 var/auto-apache.conf&lt;br /&gt;
 var/auto-apache-includes.conf&lt;br /&gt;
 archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apache.conf&lt;br /&gt;
 archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-apache.conf&lt;br /&gt;
 archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-secure.conf&lt;/div&gt;</summary>
		<author><name>Tmb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=ApacheConfigMigration&amp;diff=10809</id>
		<title>ApacheConfigMigration</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=ApacheConfigMigration&amp;diff=10809"/>
		<updated>2013-07-18T08:57:54Z</updated>

		<summary type="html">&lt;p&gt;Tmb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Apache Configuration=&lt;br /&gt;
&lt;br /&gt;
The EPrints apache configuration is distributed across a number of files. This layout changed between EPrints version 3.1 and 3.2 - this page explains the differences and advises how to migrate to the new layout after upgrading from 3.1 to 3.2+.&lt;br /&gt;
&lt;br /&gt;
==Apache Configuration in 3.1==&lt;br /&gt;
&lt;br /&gt;
 cfg/&lt;br /&gt;
 └── apache.conf&lt;br /&gt;
 var/&lt;br /&gt;
 ├── auto-apache.conf&lt;br /&gt;
 └── auto-apache-includes.conf&lt;br /&gt;
 archives/&lt;br /&gt;
 └── &amp;lt;ARCHIVEID&amp;gt;&lt;br /&gt;
     ├── cfg&lt;br /&gt;
     │   ├── apache.conf&lt;br /&gt;
     │   └── apachevhost.conf&lt;br /&gt;
     └── var&lt;br /&gt;
         ├── auto-apache.conf&lt;br /&gt;
         ├── auto-secure.conf&lt;br /&gt;
         └── entities.dtd&lt;br /&gt;
&lt;br /&gt;
''Note auto-secure.conf will only be present if using SSL&lt;br /&gt;
&lt;br /&gt;
===File Overview (3.1)===&lt;br /&gt;
&lt;br /&gt;
'''cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
* Loads files from var/&lt;br /&gt;
&lt;br /&gt;
'''var/auto-apache-includes.conf&lt;br /&gt;
&lt;br /&gt;
* Loads HTTP configuration for each repository: archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
'''var/auto-apache.conf&lt;br /&gt;
&lt;br /&gt;
* Global HTTP configuration&lt;br /&gt;
&lt;br /&gt;
'''archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
* Loads archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-apache.conf&lt;br /&gt;
&lt;br /&gt;
'''archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-apache.conf&lt;br /&gt;
&lt;br /&gt;
* VirtualHost for repository&lt;br /&gt;
* Loads archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apachevhost.conf&lt;br /&gt;
&lt;br /&gt;
'''archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apachevhost.conf&lt;br /&gt;
&lt;br /&gt;
* Empty - add custom directives here&lt;br /&gt;
&lt;br /&gt;
'''archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-secure.conf&lt;br /&gt;
&lt;br /&gt;
* Repository-specific SSL configuration (note no VirtualHost)&lt;br /&gt;
&lt;br /&gt;
===Loading into Apache (3.1)===&lt;br /&gt;
&lt;br /&gt;
'''Example 1 - Debian/Ubuntu&lt;br /&gt;
&lt;br /&gt;
HTTP - create a new &amp;quot;site&amp;quot; which loads the top level EPrints apache configuration file:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/apache2/sites-available/eprints3&lt;br /&gt;
 Include /opt/eprints3/cfg/apache.conf&lt;br /&gt;
 $ a2ensite eprints3&lt;br /&gt;
&lt;br /&gt;
SSL - load the repository-specific EPrints apache configuration file from inside an SSL VirtualHost:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/apache2/sites-available/default-ssl&lt;br /&gt;
 &amp;lt;IfModule mod_ssl.c&amp;gt;&lt;br /&gt;
 	&amp;lt;VirtualHost _default_:443&amp;gt;&lt;br /&gt;
 		...&lt;br /&gt;
 		Include /opt/eprints3/archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-secure.conf&lt;br /&gt;
 	&amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
 $ a2ensite default-ssl&lt;br /&gt;
&lt;br /&gt;
'''Example 2 - RedHat/CentOS&lt;br /&gt;
&lt;br /&gt;
HTTP - load top level EPrints apache configuration file:&lt;br /&gt;
&lt;br /&gt;
 $ tail /etc/httpd/conf/httpd.conf&lt;br /&gt;
 ...&lt;br /&gt;
 Include /opt/eprints3/cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
''Note if EPrints is installed from RPM, check /etc/httpd/conf.d/eprints.conf&lt;br /&gt;
&lt;br /&gt;
SSL - load the repository-specific SSL configuration from inside an SSL VirtualHost:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/httpd/conf.d/ssl.conf&lt;br /&gt;
 ...&lt;br /&gt;
 &amp;lt;VirtualHost _default:443&amp;gt;&lt;br /&gt;
 	...&lt;br /&gt;
 	Include /opt/eprints3/archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-secure.conf&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Apache Configuration in 3.2+==&lt;br /&gt;
&lt;br /&gt;
From 3.2 onwards things were simplified - there are fewer configuration files in a single location. The configuration files are shorter as much of the processing was moved into the EPrints::Apache::Rewrite module.&lt;br /&gt;
&lt;br /&gt;
 cfg/&lt;br /&gt;
 ├── apache.conf&lt;br /&gt;
 ├── apache&lt;br /&gt;
 │   └── &amp;lt;ARCHIVEID&amp;gt;.conf&lt;br /&gt;
 ├── apache_ssl.conf&lt;br /&gt;
 └── apache_ssl&lt;br /&gt;
     └── &amp;lt;ARCHIVEID&amp;gt;.conf&lt;br /&gt;
&lt;br /&gt;
'''Note apache_ssl* files will only be present if using SSL.&lt;br /&gt;
&lt;br /&gt;
===File Overview (3.2+)===&lt;br /&gt;
&lt;br /&gt;
'''cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
* Global configuration&lt;br /&gt;
* Loads HTTP configuration for each repository: cfg/apache/*.conf&lt;br /&gt;
&lt;br /&gt;
'''cfg/apache/&amp;lt;ARCHIVEID&amp;gt;.conf&lt;br /&gt;
&lt;br /&gt;
* VirtualHost for repository&lt;br /&gt;
* Loads archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apachevhost.conf if present&lt;br /&gt;
&lt;br /&gt;
'''cfg/apache_ssl.conf&lt;br /&gt;
&lt;br /&gt;
* Global SSL configuration&lt;br /&gt;
* Loads SSL configuration for each repository: cfg/apache_ssl/*.conf&lt;br /&gt;
&lt;br /&gt;
'''cfg/apache_ssl/&amp;lt;ARCHIVEID&amp;gt;.conf&lt;br /&gt;
&lt;br /&gt;
* Repository-specific SSL configuration (note no VirtualHost)&lt;br /&gt;
&lt;br /&gt;
===Loading into Apache (3.2+)===&lt;br /&gt;
&lt;br /&gt;
'''Example 1 - Debian/Ubuntu&lt;br /&gt;
&lt;br /&gt;
HTTP - create a new &amp;quot;site&amp;quot; which loads the top level EPrints apache configuration file:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/apache2/sites-available/eprints3&lt;br /&gt;
 Include /opt/eprints3/cfg/apache.conf&lt;br /&gt;
 $ a2ensite eprints3&lt;br /&gt;
&lt;br /&gt;
SSL - load the top level EPrints apache configuration file from inside an SSL VirtualHost:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/apache2/sites-available/default-ssl&lt;br /&gt;
 &amp;lt;IfModule mod_ssl.c&amp;gt;&lt;br /&gt;
 	&amp;lt;VirtualHost _default_:443&amp;gt;&lt;br /&gt;
 		...&lt;br /&gt;
 		Include /opt/eprints3/cfg/apache_ssl.conf&lt;br /&gt;
 	&amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
 $ a2ensite default-ssl&lt;br /&gt;
&lt;br /&gt;
''Note: this assumes a single SSL repository or multiple SSL repositories sharing the same &amp;lt;tt&amp;gt;securehost&amp;lt;/tt&amp;gt; - for multiple repositories with different &amp;lt;tt&amp;gt;securehost&amp;lt;/tt&amp;gt; settings each reposity-specific SSL configuration file may need to be loaded in a separate VirtualHost.&lt;br /&gt;
&lt;br /&gt;
'''Example 2 - RedHat/CentOS&lt;br /&gt;
&lt;br /&gt;
HTTP - load top level EPrints apache configuration file:&lt;br /&gt;
&lt;br /&gt;
 $ tail /etc/httpd/conf/httpd.conf&lt;br /&gt;
 ...&lt;br /&gt;
 Include /opt/eprints3/cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
''Note if EPrints is installed from RPM, check /etc/httpd/conf.d/eprints.conf&lt;br /&gt;
&lt;br /&gt;
SSL - load the repository-specific SSL configuration from inside an SSL VirtualHost:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/httpd/conf.d/ssl.conf&lt;br /&gt;
 ...&lt;br /&gt;
 &amp;lt;VirtualHost _default:443&amp;gt;&lt;br /&gt;
 	...&lt;br /&gt;
 	Include /opt/eprints3/cfg/apache_ssl.conf&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''Note: this assumes a single SSL repository or multiple SSL repositories sharing the same &amp;lt;tt&amp;gt;securehost&amp;lt;/tt&amp;gt; - for multiple repositories with different &amp;lt;tt&amp;gt;securehost&amp;lt;/tt&amp;gt; settings each reposity-specific SSL configuration file may need to be loaded in a separate VirtualHost.&lt;br /&gt;
&lt;br /&gt;
==Migrating apache configuration from 3.1 to 3.2+==&lt;br /&gt;
&lt;br /&gt;
This won't happen automatically when you upgrade from 3.1 to 3.2+ so follow the steps below to migrate the apache configuration after upgrading:&lt;br /&gt;
&lt;br /&gt;
# Back up the 3.1 apache configuration files&lt;br /&gt;
# Check for any custom directives added to 3.1 apache config files, in particular &amp;lt;tt&amp;gt;cfg/apache.conf&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apache.conf&amp;lt;/tt&amp;gt;&lt;br /&gt;
# Run &amp;lt;tt&amp;gt;bin/generate_apacheconf --system --replace&amp;lt;/tt&amp;gt; - this will generate the new apache configuration files as above&lt;br /&gt;
# If using SSL change the top level apache SSL configuration file to load &amp;lt;tt&amp;gt;/opt/eprints3/cfg/apache_ssl.conf&amp;lt;/tt&amp;gt; instead of &amp;lt;tt&amp;gt;/opt/eprints3/archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-secure.conf&amp;lt;/tt&amp;gt;&lt;br /&gt;
# Merge custom directives back in as appropriate (noting that custom directives may be lost if generate_apacheconf is run with the --system or --replace option)&lt;br /&gt;
# Restart apache&lt;br /&gt;
# After successful testing, the following 3.1 configuration files can be removed:&lt;br /&gt;
&lt;br /&gt;
 var/auto-apache.conf&lt;br /&gt;
 var/auto-apache-includes.conf&lt;br /&gt;
 archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apache.conf&lt;br /&gt;
 archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-apache.conf&lt;br /&gt;
 archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-secure.conf&lt;/div&gt;</summary>
		<author><name>Tmb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=ApacheConfigMigration&amp;diff=10808</id>
		<title>ApacheConfigMigration</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=ApacheConfigMigration&amp;diff=10808"/>
		<updated>2013-07-18T08:57:10Z</updated>

		<summary type="html">&lt;p&gt;Tmb: /* Loading into Apache */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Apache Configuration=&lt;br /&gt;
&lt;br /&gt;
The EPrints apache configuration is distributed across a number of files. This layout changed between EPrints version 3.1 and 3.2 - this page explains the differences and advises how to migrate to the new layout after upgrading from 3.1 to 3.2+.&lt;br /&gt;
&lt;br /&gt;
==Apache Configuration in 3.1==&lt;br /&gt;
&lt;br /&gt;
 cfg/&lt;br /&gt;
 └── apache.conf&lt;br /&gt;
 var/&lt;br /&gt;
 ├── auto-apache.conf&lt;br /&gt;
 └── auto-apache-includes.conf&lt;br /&gt;
 archives/&lt;br /&gt;
 └── &amp;lt;ARCHIVEID&amp;gt;&lt;br /&gt;
     ├── cfg&lt;br /&gt;
     │   ├── apache.conf&lt;br /&gt;
     │   └── apachevhost.conf&lt;br /&gt;
     └── var&lt;br /&gt;
         ├── auto-apache.conf&lt;br /&gt;
         ├── auto-secure.conf&lt;br /&gt;
         └── entities.dtd&lt;br /&gt;
&lt;br /&gt;
''Note auto-secure.conf will only be present if using SSL&lt;br /&gt;
&lt;br /&gt;
===File Overview===&lt;br /&gt;
&lt;br /&gt;
'''cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
* Loads files from var/&lt;br /&gt;
&lt;br /&gt;
'''var/auto-apache-includes.conf&lt;br /&gt;
&lt;br /&gt;
* Loads HTTP configuration for each repository: archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
'''var/auto-apache.conf&lt;br /&gt;
&lt;br /&gt;
* Global HTTP configuration&lt;br /&gt;
&lt;br /&gt;
'''archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
* Loads archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-apache.conf&lt;br /&gt;
&lt;br /&gt;
'''archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-apache.conf&lt;br /&gt;
&lt;br /&gt;
* VirtualHost for repository&lt;br /&gt;
* Loads archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apachevhost.conf&lt;br /&gt;
&lt;br /&gt;
'''archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apachevhost.conf&lt;br /&gt;
&lt;br /&gt;
* Empty - add custom directives here&lt;br /&gt;
&lt;br /&gt;
'''archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-secure.conf&lt;br /&gt;
&lt;br /&gt;
* Repository-specific SSL configuration (note no VirtualHost)&lt;br /&gt;
&lt;br /&gt;
===Loading into Apache===&lt;br /&gt;
&lt;br /&gt;
'''Example 1 - Debian/Ubuntu&lt;br /&gt;
&lt;br /&gt;
HTTP - create a new &amp;quot;site&amp;quot; which loads the top level EPrints apache configuration file:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/apache2/sites-available/eprints3&lt;br /&gt;
 Include /opt/eprints3/cfg/apache.conf&lt;br /&gt;
 $ a2ensite eprints3&lt;br /&gt;
&lt;br /&gt;
SSL - load the repository-specific EPrints apache configuration file from inside an SSL VirtualHost:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/apache2/sites-available/default-ssl&lt;br /&gt;
 &amp;lt;IfModule mod_ssl.c&amp;gt;&lt;br /&gt;
 	&amp;lt;VirtualHost _default_:443&amp;gt;&lt;br /&gt;
 		...&lt;br /&gt;
 		Include /opt/eprints3/archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-secure.conf&lt;br /&gt;
 	&amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
 $ a2ensite default-ssl&lt;br /&gt;
&lt;br /&gt;
'''Example 2 - RedHat/CentOS&lt;br /&gt;
&lt;br /&gt;
HTTP - load top level EPrints apache configuration file:&lt;br /&gt;
&lt;br /&gt;
 $ tail /etc/httpd/conf/httpd.conf&lt;br /&gt;
 ...&lt;br /&gt;
 Include /opt/eprints3/cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
''Note if EPrints is installed from RPM, check /etc/httpd/conf.d/eprints.conf&lt;br /&gt;
&lt;br /&gt;
SSL - load the repository-specific SSL configuration from inside an SSL VirtualHost:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/httpd/conf.d/ssl.conf&lt;br /&gt;
 ...&lt;br /&gt;
 &amp;lt;VirtualHost _default:443&amp;gt;&lt;br /&gt;
 	...&lt;br /&gt;
 	Include /opt/eprints3/archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-secure.conf&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Apache Configuration in 3.2+==&lt;br /&gt;
&lt;br /&gt;
From 3.2 onwards things were simplified - there are fewer configuration files in a single location. The configuration files are shorter as much of the processing was moved into the EPrints::Apache::Rewrite module.&lt;br /&gt;
&lt;br /&gt;
 cfg/&lt;br /&gt;
 ├── apache.conf&lt;br /&gt;
 ├── apache&lt;br /&gt;
 │   └── &amp;lt;ARCHIVEID&amp;gt;.conf&lt;br /&gt;
 ├── apache_ssl.conf&lt;br /&gt;
 └── apache_ssl&lt;br /&gt;
     └── &amp;lt;ARCHIVEID&amp;gt;.conf&lt;br /&gt;
&lt;br /&gt;
'''Note apache_ssl* files will only be present if using SSL.&lt;br /&gt;
&lt;br /&gt;
===File Overview===&lt;br /&gt;
&lt;br /&gt;
'''cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
* Global configuration&lt;br /&gt;
* Loads HTTP configuration for each repository: cfg/apache/*.conf&lt;br /&gt;
&lt;br /&gt;
'''cfg/apache/&amp;lt;ARCHIVEID&amp;gt;.conf&lt;br /&gt;
&lt;br /&gt;
* VirtualHost for repository&lt;br /&gt;
* Loads archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apachevhost.conf if present&lt;br /&gt;
&lt;br /&gt;
'''cfg/apache_ssl.conf&lt;br /&gt;
&lt;br /&gt;
* Global SSL configuration&lt;br /&gt;
* Loads SSL configuration for each repository: cfg/apache_ssl/*.conf&lt;br /&gt;
&lt;br /&gt;
'''cfg/apache_ssl/&amp;lt;ARCHIVEID&amp;gt;.conf&lt;br /&gt;
&lt;br /&gt;
* Repository-specific SSL configuration (note no VirtualHost)&lt;br /&gt;
&lt;br /&gt;
===Loading into Apache===&lt;br /&gt;
&lt;br /&gt;
'''Example 1 - Debian/Ubuntu&lt;br /&gt;
&lt;br /&gt;
HTTP - create a new &amp;quot;site&amp;quot; which loads the top level EPrints apache configuration file:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/apache2/sites-available/eprints3&lt;br /&gt;
 Include /opt/eprints3/cfg/apache.conf&lt;br /&gt;
 $ a2ensite eprints3&lt;br /&gt;
&lt;br /&gt;
SSL - load the top level EPrints apache configuration file from inside an SSL VirtualHost:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/apache2/sites-available/default-ssl&lt;br /&gt;
 &amp;lt;IfModule mod_ssl.c&amp;gt;&lt;br /&gt;
 	&amp;lt;VirtualHost _default_:443&amp;gt;&lt;br /&gt;
 		...&lt;br /&gt;
 		Include /opt/eprints3/cfg/apache_ssl.conf&lt;br /&gt;
 	&amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
 $ a2ensite default-ssl&lt;br /&gt;
&lt;br /&gt;
''Note: this assumes a single SSL repository or multiple SSL repositories sharing the same &amp;lt;tt&amp;gt;securehost&amp;lt;/tt&amp;gt; - for multiple repositories with different &amp;lt;tt&amp;gt;securehost&amp;lt;/tt&amp;gt; settings each reposity-specific SSL configuration file may need to be loaded in a separate VirtualHost.&lt;br /&gt;
&lt;br /&gt;
'''Example 2 - RedHat/CentOS&lt;br /&gt;
&lt;br /&gt;
HTTP - load top level EPrints apache configuration file:&lt;br /&gt;
&lt;br /&gt;
 $ tail /etc/httpd/conf/httpd.conf&lt;br /&gt;
 ...&lt;br /&gt;
 Include /opt/eprints3/cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
''Note if EPrints is installed from RPM, check /etc/httpd/conf.d/eprints.conf&lt;br /&gt;
&lt;br /&gt;
SSL - load the repository-specific SSL configuration from inside an SSL VirtualHost:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/httpd/conf.d/ssl.conf&lt;br /&gt;
 ...&lt;br /&gt;
 &amp;lt;VirtualHost _default:443&amp;gt;&lt;br /&gt;
 	...&lt;br /&gt;
 	Include /opt/eprints3/cfg/apache_ssl.conf&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''Note: this assumes a single SSL repository or multiple SSL repositories sharing the same &amp;lt;tt&amp;gt;securehost&amp;lt;/tt&amp;gt; - for multiple repositories with different &amp;lt;tt&amp;gt;securehost&amp;lt;/tt&amp;gt; settings each reposity-specific SSL configuration file may need to be loaded in a separate VirtualHost.&lt;br /&gt;
&lt;br /&gt;
==Migrating apache configuration from 3.1 to 3.2+==&lt;br /&gt;
&lt;br /&gt;
This won't happen automatically when you upgrade from 3.1 to 3.2+ so follow the steps below to migrate the apache configuration after upgrading:&lt;br /&gt;
&lt;br /&gt;
# Back up the 3.1 apache configuration files&lt;br /&gt;
# Check for any custom directives added to 3.1 apache config files, in particular &amp;lt;tt&amp;gt;cfg/apache.conf&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apache.conf&amp;lt;/tt&amp;gt;&lt;br /&gt;
# Run &amp;lt;tt&amp;gt;bin/generate_apacheconf --system --replace&amp;lt;/tt&amp;gt; - this will generate the new apache configuration files as above&lt;br /&gt;
# If using SSL change the top level apache SSL configuration file to load &amp;lt;tt&amp;gt;/opt/eprints3/cfg/apache_ssl.conf&amp;lt;/tt&amp;gt; instead of &amp;lt;tt&amp;gt;/opt/eprints3/archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-secure.conf&amp;lt;/tt&amp;gt;&lt;br /&gt;
# Merge custom directives back in as appropriate (noting that custom directives may be lost if generate_apacheconf is run with the --system or --replace option)&lt;br /&gt;
# Restart apache&lt;br /&gt;
# After successful testing, the following 3.1 configuration files can be removed:&lt;br /&gt;
&lt;br /&gt;
 var/auto-apache.conf&lt;br /&gt;
 var/auto-apache-includes.conf&lt;br /&gt;
 archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apache.conf&lt;br /&gt;
 archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-apache.conf&lt;br /&gt;
 archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-secure.conf&lt;/div&gt;</summary>
		<author><name>Tmb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=ApacheConfigMigration&amp;diff=10807</id>
		<title>ApacheConfigMigration</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=ApacheConfigMigration&amp;diff=10807"/>
		<updated>2013-07-18T08:56:27Z</updated>

		<summary type="html">&lt;p&gt;Tmb: /* Loading into Apache */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Apache Configuration=&lt;br /&gt;
&lt;br /&gt;
The EPrints apache configuration is distributed across a number of files. This layout changed between EPrints version 3.1 and 3.2 - this page explains the differences and advises how to migrate to the new layout after upgrading from 3.1 to 3.2+.&lt;br /&gt;
&lt;br /&gt;
==Apache Configuration in 3.1==&lt;br /&gt;
&lt;br /&gt;
 cfg/&lt;br /&gt;
 └── apache.conf&lt;br /&gt;
 var/&lt;br /&gt;
 ├── auto-apache.conf&lt;br /&gt;
 └── auto-apache-includes.conf&lt;br /&gt;
 archives/&lt;br /&gt;
 └── &amp;lt;ARCHIVEID&amp;gt;&lt;br /&gt;
     ├── cfg&lt;br /&gt;
     │   ├── apache.conf&lt;br /&gt;
     │   └── apachevhost.conf&lt;br /&gt;
     └── var&lt;br /&gt;
         ├── auto-apache.conf&lt;br /&gt;
         ├── auto-secure.conf&lt;br /&gt;
         └── entities.dtd&lt;br /&gt;
&lt;br /&gt;
''Note auto-secure.conf will only be present if using SSL&lt;br /&gt;
&lt;br /&gt;
===File Overview===&lt;br /&gt;
&lt;br /&gt;
'''cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
* Loads files from var/&lt;br /&gt;
&lt;br /&gt;
'''var/auto-apache-includes.conf&lt;br /&gt;
&lt;br /&gt;
* Loads HTTP configuration for each repository: archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
'''var/auto-apache.conf&lt;br /&gt;
&lt;br /&gt;
* Global HTTP configuration&lt;br /&gt;
&lt;br /&gt;
'''archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
* Loads archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-apache.conf&lt;br /&gt;
&lt;br /&gt;
'''archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-apache.conf&lt;br /&gt;
&lt;br /&gt;
* VirtualHost for repository&lt;br /&gt;
* Loads archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apachevhost.conf&lt;br /&gt;
&lt;br /&gt;
'''archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apachevhost.conf&lt;br /&gt;
&lt;br /&gt;
* Empty - add custom directives here&lt;br /&gt;
&lt;br /&gt;
'''archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-secure.conf&lt;br /&gt;
&lt;br /&gt;
* Repository-specific SSL configuration (note no VirtualHost)&lt;br /&gt;
&lt;br /&gt;
===Loading into Apache===&lt;br /&gt;
&lt;br /&gt;
'''Example 1 - Debian/Ubuntu&lt;br /&gt;
&lt;br /&gt;
HTTP - create a new &amp;quot;site&amp;quot; which loads the top level EPrints apache configuration file:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/apache2/sites-available/eprints3&lt;br /&gt;
 Include /opt/eprints3/cfg/apache.conf&lt;br /&gt;
 $ a2ensite eprints3&lt;br /&gt;
&lt;br /&gt;
SSL - load the repository-specific EPrints apache configuration file from inside an SSL VirtualHost:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/apache2/sites-available/default-ssl&lt;br /&gt;
 &amp;lt;IfModule mod_ssl.c&amp;gt;&lt;br /&gt;
 	&amp;lt;VirtualHost _default_:443&amp;gt;&lt;br /&gt;
 		...&lt;br /&gt;
 		Include /opt/eprints3/archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-secure.conf&lt;br /&gt;
 	&amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
 $ a2ensite default-ssl&lt;br /&gt;
&lt;br /&gt;
'''Example 2 - RedHat/CentOS&lt;br /&gt;
&lt;br /&gt;
HTTP - load top level EPrints apache configuration file:&lt;br /&gt;
&lt;br /&gt;
 $ tail /etc/httpd/conf/httpd.conf&lt;br /&gt;
 ...&lt;br /&gt;
 Include /opt/eprints3/cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
SSL - load the repository-specific SSL configuration from inside an SSL VirtualHost:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/httpd/conf.d/ssl.conf&lt;br /&gt;
 ...&lt;br /&gt;
 &amp;lt;VirtualHost _default:443&amp;gt;&lt;br /&gt;
 	...&lt;br /&gt;
 	Include /opt/eprints3/archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-secure.conf&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Apache Configuration in 3.2+==&lt;br /&gt;
&lt;br /&gt;
From 3.2 onwards things were simplified - there are fewer configuration files in a single location. The configuration files are shorter as much of the processing was moved into the EPrints::Apache::Rewrite module.&lt;br /&gt;
&lt;br /&gt;
 cfg/&lt;br /&gt;
 ├── apache.conf&lt;br /&gt;
 ├── apache&lt;br /&gt;
 │   └── &amp;lt;ARCHIVEID&amp;gt;.conf&lt;br /&gt;
 ├── apache_ssl.conf&lt;br /&gt;
 └── apache_ssl&lt;br /&gt;
     └── &amp;lt;ARCHIVEID&amp;gt;.conf&lt;br /&gt;
&lt;br /&gt;
'''Note apache_ssl* files will only be present if using SSL.&lt;br /&gt;
&lt;br /&gt;
===File Overview===&lt;br /&gt;
&lt;br /&gt;
'''cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
* Global configuration&lt;br /&gt;
* Loads HTTP configuration for each repository: cfg/apache/*.conf&lt;br /&gt;
&lt;br /&gt;
'''cfg/apache/&amp;lt;ARCHIVEID&amp;gt;.conf&lt;br /&gt;
&lt;br /&gt;
* VirtualHost for repository&lt;br /&gt;
* Loads archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apachevhost.conf if present&lt;br /&gt;
&lt;br /&gt;
'''cfg/apache_ssl.conf&lt;br /&gt;
&lt;br /&gt;
* Global SSL configuration&lt;br /&gt;
* Loads SSL configuration for each repository: cfg/apache_ssl/*.conf&lt;br /&gt;
&lt;br /&gt;
'''cfg/apache_ssl/&amp;lt;ARCHIVEID&amp;gt;.conf&lt;br /&gt;
&lt;br /&gt;
* Repository-specific SSL configuration (note no VirtualHost)&lt;br /&gt;
&lt;br /&gt;
===Loading into Apache===&lt;br /&gt;
&lt;br /&gt;
'''Example 1 - Debian/Ubuntu&lt;br /&gt;
&lt;br /&gt;
HTTP - create a new &amp;quot;site&amp;quot; which loads the top level EPrints apache configuration file:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/apache2/sites-available/eprints3&lt;br /&gt;
 Include /opt/eprints3/cfg/apache.conf&lt;br /&gt;
 $ a2ensite eprints3&lt;br /&gt;
&lt;br /&gt;
SSL - load the top level EPrints apache configuration file from inside an SSL VirtualHost:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/apache2/sites-available/default-ssl&lt;br /&gt;
 &amp;lt;IfModule mod_ssl.c&amp;gt;&lt;br /&gt;
 	&amp;lt;VirtualHost _default_:443&amp;gt;&lt;br /&gt;
 		...&lt;br /&gt;
 		Include /opt/eprints3/cfg/apache_ssl.conf&lt;br /&gt;
 	&amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
 $ a2ensite default-ssl&lt;br /&gt;
&lt;br /&gt;
''Note: this assumes a single SSL repository or multiple SSL repositories sharing the same &amp;lt;tt&amp;gt;securehost&amp;lt;/tt&amp;gt; - for multiple repositories with different &amp;lt;tt&amp;gt;securehost&amp;lt;/tt&amp;gt; settings each reposity-specific SSL configuration file may need to be loaded in a separate VirtualHost.&lt;br /&gt;
&lt;br /&gt;
'''Example 2 - RedHat/CentOS&lt;br /&gt;
&lt;br /&gt;
HTTP - load top level EPrints apache configuration file:&lt;br /&gt;
&lt;br /&gt;
 $ tail /etc/httpd/conf/httpd.conf&lt;br /&gt;
 ...&lt;br /&gt;
 Include /opt/eprints3/cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
''Note if EPrints is installed from RPM, check /etc/httpd/conf.d/eprints.conf&lt;br /&gt;
&lt;br /&gt;
SSL - load the repository-specific SSL configuration from inside an SSL VirtualHost:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/httpd/conf.d/ssl.conf&lt;br /&gt;
 ...&lt;br /&gt;
 &amp;lt;VirtualHost _default:443&amp;gt;&lt;br /&gt;
 	...&lt;br /&gt;
 	Include /opt/eprints3/cfg/apache_ssl.conf&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''Note: this assumes a single SSL repository or multiple SSL repositories sharing the same &amp;lt;tt&amp;gt;securehost&amp;lt;/tt&amp;gt; - for multiple repositories with different &amp;lt;tt&amp;gt;securehost&amp;lt;/tt&amp;gt; settings each reposity-specific SSL configuration file may need to be loaded in a separate VirtualHost.&lt;br /&gt;
&lt;br /&gt;
==Migrating apache configuration from 3.1 to 3.2+==&lt;br /&gt;
&lt;br /&gt;
This won't happen automatically when you upgrade from 3.1 to 3.2+ so follow the steps below to migrate the apache configuration after upgrading:&lt;br /&gt;
&lt;br /&gt;
# Back up the 3.1 apache configuration files&lt;br /&gt;
# Check for any custom directives added to 3.1 apache config files, in particular &amp;lt;tt&amp;gt;cfg/apache.conf&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apache.conf&amp;lt;/tt&amp;gt;&lt;br /&gt;
# Run &amp;lt;tt&amp;gt;bin/generate_apacheconf --system --replace&amp;lt;/tt&amp;gt; - this will generate the new apache configuration files as above&lt;br /&gt;
# If using SSL change the top level apache SSL configuration file to load &amp;lt;tt&amp;gt;/opt/eprints3/cfg/apache_ssl.conf&amp;lt;/tt&amp;gt; instead of &amp;lt;tt&amp;gt;/opt/eprints3/archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-secure.conf&amp;lt;/tt&amp;gt;&lt;br /&gt;
# Merge custom directives back in as appropriate (noting that custom directives may be lost if generate_apacheconf is run with the --system or --replace option)&lt;br /&gt;
# Restart apache&lt;br /&gt;
# After successful testing, the following 3.1 configuration files can be removed:&lt;br /&gt;
&lt;br /&gt;
 var/auto-apache.conf&lt;br /&gt;
 var/auto-apache-includes.conf&lt;br /&gt;
 archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apache.conf&lt;br /&gt;
 archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-apache.conf&lt;br /&gt;
 archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-secure.conf&lt;/div&gt;</summary>
		<author><name>Tmb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=Upgrading_from_3.1&amp;diff=10806</id>
		<title>Upgrading from 3.1</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=Upgrading_from_3.1&amp;diff=10806"/>
		<updated>2013-07-18T08:50:38Z</updated>

		<summary type="html">&lt;p&gt;Tmb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;One of the core parts of upgrading from 3.1 is converting all database tables and data to the utf8 charset (previous version of EPrints used latin1). There are a couple of pitfalls in this process - the following tips are from the EPrints Services team, after carrying out many upgrades to 3.2. Please note that you follow this advice at your own risk.&lt;br /&gt;
&lt;br /&gt;
==Avoiding subject__index_grep key length error==&lt;br /&gt;
&lt;br /&gt;
When converting subject__index_grep and subject__rindex to utf8, ''bin/epadmin upgrade'' will generate an error:&lt;br /&gt;
&lt;br /&gt;
 DBD::mysql::db do failed: Specified key was too long; max key length is 1000 bytes at /opt/eprints3/perl_lib/EPrints/Database.pm line 3213, &amp;lt;STDIN&amp;gt; line 1.&lt;br /&gt;
&lt;br /&gt;
To avoid this error clear the tables before running ''bin/epadmin upgrade'':&lt;br /&gt;
&lt;br /&gt;
 delete from subject__index_grep&lt;br /&gt;
 delete from subject__rindex&lt;br /&gt;
&lt;br /&gt;
Then reindex when ''bin/epadmin upgrade'' has completed:&lt;br /&gt;
&lt;br /&gt;
 bin/epadmin reindex ARCHIVEID subject&lt;br /&gt;
&lt;br /&gt;
==Minimising downtime==&lt;br /&gt;
&lt;br /&gt;
Whilst ''bin/epadmin upgrade'' is running, your repository will be offline.&lt;br /&gt;
&lt;br /&gt;
If you have a LARGE repository the conversion to utf8 can take a LONG time (12+ hours). However some of the tables are volatile (ie. the data can be generated) so you can reduce downtime by clearing these tables beforehand, and then regenerating the content afterwards (whilst your repository is back online).&lt;br /&gt;
&lt;br /&gt;
You only really need to consider this if your eprint__rindex table contains MILLIONS of rows.&lt;br /&gt;
&lt;br /&gt;
Clear these tables before running ''bin/epadmin upgrade'':&lt;br /&gt;
&lt;br /&gt;
 DELETE FROM eprint__rindex;&lt;br /&gt;
&lt;br /&gt;
After running ''bin/epadmin upgrade'' and getting your repository back online:&lt;br /&gt;
&lt;br /&gt;
 bin/epadmin reindex ARCHIVEID eprint&lt;br /&gt;
&lt;br /&gt;
Note that your search won't be at full capacity until the indexes are fully regenerated, but we have found that getting the repository back online ASAP is more desirable so worth the trade off.&lt;br /&gt;
&lt;br /&gt;
==Post-upgrade: Migrating Apache Configuration==&lt;br /&gt;
&lt;br /&gt;
See [[ApacheConfigMigration]]&lt;/div&gt;</summary>
		<author><name>Tmb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=ApacheConfigMigration&amp;diff=10805</id>
		<title>ApacheConfigMigration</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=ApacheConfigMigration&amp;diff=10805"/>
		<updated>2013-07-18T08:42:19Z</updated>

		<summary type="html">&lt;p&gt;Tmb: /* Loading into Apache */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Apache Configuration=&lt;br /&gt;
&lt;br /&gt;
The EPrints apache configuration is distributed across a number of files. This layout changed between EPrints version 3.1 and 3.2 - this page explains the differences and advises how to migrate to the new layout after upgrading from 3.1 to 3.2+.&lt;br /&gt;
&lt;br /&gt;
==Apache Configuration in 3.1==&lt;br /&gt;
&lt;br /&gt;
 cfg/&lt;br /&gt;
 └── apache.conf&lt;br /&gt;
 var/&lt;br /&gt;
 ├── auto-apache.conf&lt;br /&gt;
 └── auto-apache-includes.conf&lt;br /&gt;
 archives/&lt;br /&gt;
 └── &amp;lt;ARCHIVEID&amp;gt;&lt;br /&gt;
     ├── cfg&lt;br /&gt;
     │   ├── apache.conf&lt;br /&gt;
     │   └── apachevhost.conf&lt;br /&gt;
     └── var&lt;br /&gt;
         ├── auto-apache.conf&lt;br /&gt;
         ├── auto-secure.conf&lt;br /&gt;
         └── entities.dtd&lt;br /&gt;
&lt;br /&gt;
''Note auto-secure.conf will only be present if using SSL&lt;br /&gt;
&lt;br /&gt;
===File Overview===&lt;br /&gt;
&lt;br /&gt;
'''cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
* Loads files from var/&lt;br /&gt;
&lt;br /&gt;
'''var/auto-apache-includes.conf&lt;br /&gt;
&lt;br /&gt;
* Loads HTTP configuration for each repository: archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
'''var/auto-apache.conf&lt;br /&gt;
&lt;br /&gt;
* Global HTTP configuration&lt;br /&gt;
&lt;br /&gt;
'''archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
* Loads archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-apache.conf&lt;br /&gt;
&lt;br /&gt;
'''archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-apache.conf&lt;br /&gt;
&lt;br /&gt;
* VirtualHost for repository&lt;br /&gt;
* Loads archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apachevhost.conf&lt;br /&gt;
&lt;br /&gt;
'''archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apachevhost.conf&lt;br /&gt;
&lt;br /&gt;
* Empty - add custom directives here&lt;br /&gt;
&lt;br /&gt;
'''archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-secure.conf&lt;br /&gt;
&lt;br /&gt;
* Repository-specific SSL configuration (note no VirtualHost)&lt;br /&gt;
&lt;br /&gt;
===Loading into Apache===&lt;br /&gt;
&lt;br /&gt;
'''Example 1 - Debian/Ubuntu&lt;br /&gt;
&lt;br /&gt;
HTTP - create a new &amp;quot;site&amp;quot; which loads the top level EPrints apache configuration file:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/apache2/sites-available/eprints3&lt;br /&gt;
 Include /opt/eprints3/cfg/apache.conf&lt;br /&gt;
 $ a2ensite eprints3&lt;br /&gt;
&lt;br /&gt;
SSL - load the repository-specific EPrints apache configuration file from inside an SSL VirtualHost:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/apache2/sites-available/default-ssl&lt;br /&gt;
 &amp;lt;IfModule mod_ssl.c&amp;gt;&lt;br /&gt;
 	&amp;lt;VirtualHost _default_:443&amp;gt;&lt;br /&gt;
 		...&lt;br /&gt;
 		Include /opt/eprints3/archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-secure.conf&lt;br /&gt;
 	&amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
 $ a2ensite default-ssl&lt;br /&gt;
&lt;br /&gt;
'''Example 2 - RedHat/CentOS&lt;br /&gt;
&lt;br /&gt;
HTTP - load top level EPrints apache configuration file:&lt;br /&gt;
&lt;br /&gt;
 $ tail /etc/httpd/conf/httpd.conf&lt;br /&gt;
 ...&lt;br /&gt;
 Include /opt/eprints3/cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
SSL - load the repository-specific SSL configuration from inside an SSL VirtualHost:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/httpd/conf.d/ssl.conf&lt;br /&gt;
 ...&lt;br /&gt;
 &amp;lt;VirtualHost _default:443&amp;gt;&lt;br /&gt;
 	...&lt;br /&gt;
 	Include /opt/eprints3/archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-secure.conf&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Apache Configuration in 3.2+==&lt;br /&gt;
&lt;br /&gt;
From 3.2 onwards things were simplified - there are fewer configuration files in a single location. The configuration files are shorter as much of the processing was moved into the EPrints::Apache::Rewrite module.&lt;br /&gt;
&lt;br /&gt;
 cfg/&lt;br /&gt;
 ├── apache.conf&lt;br /&gt;
 ├── apache&lt;br /&gt;
 │   └── &amp;lt;ARCHIVEID&amp;gt;.conf&lt;br /&gt;
 ├── apache_ssl.conf&lt;br /&gt;
 └── apache_ssl&lt;br /&gt;
     └── &amp;lt;ARCHIVEID&amp;gt;.conf&lt;br /&gt;
&lt;br /&gt;
'''Note apache_ssl* files will only be present if using SSL.&lt;br /&gt;
&lt;br /&gt;
===File Overview===&lt;br /&gt;
&lt;br /&gt;
'''cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
* Global configuration&lt;br /&gt;
* Loads HTTP configuration for each repository: cfg/apache/*.conf&lt;br /&gt;
&lt;br /&gt;
'''cfg/apache/&amp;lt;ARCHIVEID&amp;gt;.conf&lt;br /&gt;
&lt;br /&gt;
* VirtualHost for repository&lt;br /&gt;
* Loads archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apachevhost.conf if present&lt;br /&gt;
&lt;br /&gt;
'''cfg/apache_ssl.conf&lt;br /&gt;
&lt;br /&gt;
* Global SSL configuration&lt;br /&gt;
* Loads SSL configuration for each repository: cfg/apache_ssl/*.conf&lt;br /&gt;
&lt;br /&gt;
'''cfg/apache_ssl/&amp;lt;ARCHIVEID&amp;gt;.conf&lt;br /&gt;
&lt;br /&gt;
* Repository-specific SSL configuration (note no VirtualHost)&lt;br /&gt;
&lt;br /&gt;
===Loading into Apache===&lt;br /&gt;
&lt;br /&gt;
'''Example 1 - Debian/Ubuntu&lt;br /&gt;
&lt;br /&gt;
HTTP - create a new &amp;quot;site&amp;quot; which loads the top level EPrints apache configuration file:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/apache2/sites-available/eprints3&lt;br /&gt;
 Include /opt/eprints3/cfg/apache.conf&lt;br /&gt;
 $ a2ensite eprints3&lt;br /&gt;
&lt;br /&gt;
SSL - load the top level EPrints apache configuration file from inside an SSL VirtualHost:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/apache2/sites-available/default-ssl&lt;br /&gt;
 &amp;lt;IfModule mod_ssl.c&amp;gt;&lt;br /&gt;
 	&amp;lt;VirtualHost _default_:443&amp;gt;&lt;br /&gt;
 		...&lt;br /&gt;
 		Include /opt/eprints3/cfg/apache_ssl.conf&lt;br /&gt;
 	&amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
 $ a2ensite default-ssl&lt;br /&gt;
&lt;br /&gt;
''Note: this assumes a single SSL repository or multiple SSL repositories sharing the same &amp;lt;tt&amp;gt;securehost&amp;lt;/tt&amp;gt; - for multiple repositories with different &amp;lt;tt&amp;gt;securehost&amp;lt;/tt&amp;gt; settings each reposity-specific SSL configuration file may need to be loaded in a separate VirtualHost.&lt;br /&gt;
&lt;br /&gt;
'''Example 2 - RedHat/CentOS&lt;br /&gt;
&lt;br /&gt;
HTTP - load top level EPrints apache configuration file:&lt;br /&gt;
&lt;br /&gt;
 $ tail /etc/httpd/conf/httpd.conf&lt;br /&gt;
 ...&lt;br /&gt;
 Include /opt/eprints3/cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
SSL - load the repository-specific SSL configuration from inside an SSL VirtualHost:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/httpd/conf.d/ssl.conf&lt;br /&gt;
 ...&lt;br /&gt;
 &amp;lt;VirtualHost _default:443&amp;gt;&lt;br /&gt;
 	...&lt;br /&gt;
 	Include /opt/eprints3/cfg/apache_ssl.conf&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''Note: this assumes a single SSL repository or multiple SSL repositories sharing the same &amp;lt;tt&amp;gt;securehost&amp;lt;/tt&amp;gt; - for multiple repositories with different &amp;lt;tt&amp;gt;securehost&amp;lt;/tt&amp;gt; settings each reposity-specific SSL configuration file may need to be loaded in a separate VirtualHost.&lt;br /&gt;
&lt;br /&gt;
==Migrating apache configuration from 3.1 to 3.2+==&lt;br /&gt;
&lt;br /&gt;
This won't happen automatically when you upgrade from 3.1 to 3.2+ so follow the steps below to migrate the apache configuration after upgrading:&lt;br /&gt;
&lt;br /&gt;
# Back up the 3.1 apache configuration files&lt;br /&gt;
# Check for any custom directives added to 3.1 apache config files, in particular &amp;lt;tt&amp;gt;cfg/apache.conf&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apache.conf&amp;lt;/tt&amp;gt;&lt;br /&gt;
# Run &amp;lt;tt&amp;gt;bin/generate_apacheconf --system --replace&amp;lt;/tt&amp;gt; - this will generate the new apache configuration files as above&lt;br /&gt;
# If using SSL change the top level apache SSL configuration file to load &amp;lt;tt&amp;gt;/opt/eprints3/cfg/apache_ssl.conf&amp;lt;/tt&amp;gt; instead of &amp;lt;tt&amp;gt;/opt/eprints3/archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-secure.conf&amp;lt;/tt&amp;gt;&lt;br /&gt;
# Merge custom directives back in as appropriate (noting that custom directives may be lost if generate_apacheconf is run with the --system or --replace option)&lt;br /&gt;
# Restart apache&lt;br /&gt;
# After successful testing, the following 3.1 configuration files can be removed:&lt;br /&gt;
&lt;br /&gt;
 var/auto-apache.conf&lt;br /&gt;
 var/auto-apache-includes.conf&lt;br /&gt;
 archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apache.conf&lt;br /&gt;
 archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-apache.conf&lt;br /&gt;
 archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-secure.conf&lt;/div&gt;</summary>
		<author><name>Tmb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=ApacheConfigMigration&amp;diff=10804</id>
		<title>ApacheConfigMigration</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=ApacheConfigMigration&amp;diff=10804"/>
		<updated>2013-07-18T08:40:00Z</updated>

		<summary type="html">&lt;p&gt;Tmb: /* Apache Configuration in 3.1 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Apache Configuration=&lt;br /&gt;
&lt;br /&gt;
The EPrints apache configuration is distributed across a number of files. This layout changed between EPrints version 3.1 and 3.2 - this page explains the differences and advises how to migrate to the new layout after upgrading from 3.1 to 3.2+.&lt;br /&gt;
&lt;br /&gt;
==Apache Configuration in 3.1==&lt;br /&gt;
&lt;br /&gt;
 cfg/&lt;br /&gt;
 └── apache.conf&lt;br /&gt;
 var/&lt;br /&gt;
 ├── auto-apache.conf&lt;br /&gt;
 └── auto-apache-includes.conf&lt;br /&gt;
 archives/&lt;br /&gt;
 └── &amp;lt;ARCHIVEID&amp;gt;&lt;br /&gt;
     ├── cfg&lt;br /&gt;
     │   ├── apache.conf&lt;br /&gt;
     │   └── apachevhost.conf&lt;br /&gt;
     └── var&lt;br /&gt;
         ├── auto-apache.conf&lt;br /&gt;
         ├── auto-secure.conf&lt;br /&gt;
         └── entities.dtd&lt;br /&gt;
&lt;br /&gt;
''Note auto-secure.conf will only be present if using SSL&lt;br /&gt;
&lt;br /&gt;
===File Overview===&lt;br /&gt;
&lt;br /&gt;
'''cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
* Loads files from var/&lt;br /&gt;
&lt;br /&gt;
'''var/auto-apache-includes.conf&lt;br /&gt;
&lt;br /&gt;
* Loads HTTP configuration for each repository: archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
'''var/auto-apache.conf&lt;br /&gt;
&lt;br /&gt;
* Global HTTP configuration&lt;br /&gt;
&lt;br /&gt;
'''archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
* Loads archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-apache.conf&lt;br /&gt;
&lt;br /&gt;
'''archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-apache.conf&lt;br /&gt;
&lt;br /&gt;
* VirtualHost for repository&lt;br /&gt;
* Loads archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apachevhost.conf&lt;br /&gt;
&lt;br /&gt;
'''archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apachevhost.conf&lt;br /&gt;
&lt;br /&gt;
* Empty - add custom directives here&lt;br /&gt;
&lt;br /&gt;
'''archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-secure.conf&lt;br /&gt;
&lt;br /&gt;
* Repository-specific SSL configuration (note no VirtualHost)&lt;br /&gt;
&lt;br /&gt;
===Loading into Apache===&lt;br /&gt;
&lt;br /&gt;
'''Example 1 - Debian/Ubuntu&lt;br /&gt;
&lt;br /&gt;
HTTP - create a new &amp;quot;site&amp;quot; which loads the top level EPrints apache configuration file:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/apache2/sites-available/eprints3&lt;br /&gt;
 Include /opt/eprints3/cfg/apache.conf&lt;br /&gt;
 $ a2ensite eprints3&lt;br /&gt;
&lt;br /&gt;
SSL - load the repository-specific EPrints apache configuration file from inside an SSL VirtualHost:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/apache2/sites-available/default-ssl&lt;br /&gt;
 &amp;lt;IfModule mod_ssl.c&amp;gt;&lt;br /&gt;
 	&amp;lt;VirtualHost _default_:443&amp;gt;&lt;br /&gt;
 		...&lt;br /&gt;
 		Include /opt/eprints3/archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-secure.conf&lt;br /&gt;
 	&amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
 $ a2ensite default-ssl&lt;br /&gt;
&lt;br /&gt;
'''Example 2 - RedHat/CentOS&lt;br /&gt;
&lt;br /&gt;
HTTP - load top level EPrints apache configuration file:&lt;br /&gt;
&lt;br /&gt;
 $ tail /etc/httpd/conf/httpd.conf&lt;br /&gt;
 ...&lt;br /&gt;
 Include /opt/eprints3/cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
SSL - load the repository-specific SSL configuration from inside an SSL VirtualHost:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/httpd/conf.d/ssl.conf&lt;br /&gt;
 ...&lt;br /&gt;
 &amp;lt;VirtualHost _default:443&amp;gt;&lt;br /&gt;
 	...&lt;br /&gt;
 	Include /opt/eprints3/archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-secure.conf&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Apache Configuration in 3.2+==&lt;br /&gt;
&lt;br /&gt;
From 3.2 onwards things were simplified - there are fewer configuration files in a single location. The configuration files are shorter as much of the processing was moved into the EPrints::Apache::Rewrite module.&lt;br /&gt;
&lt;br /&gt;
 cfg/&lt;br /&gt;
 ├── apache.conf&lt;br /&gt;
 ├── apache&lt;br /&gt;
 │   └── &amp;lt;ARCHIVEID&amp;gt;.conf&lt;br /&gt;
 ├── apache_ssl.conf&lt;br /&gt;
 └── apache_ssl&lt;br /&gt;
     └── &amp;lt;ARCHIVEID&amp;gt;.conf&lt;br /&gt;
&lt;br /&gt;
'''Note apache_ssl* files will only be present if using SSL.&lt;br /&gt;
&lt;br /&gt;
===File Overview===&lt;br /&gt;
&lt;br /&gt;
'''cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
* Global configuration&lt;br /&gt;
* Loads HTTP configuration for each repository: cfg/apache/*.conf&lt;br /&gt;
&lt;br /&gt;
'''cfg/apache/&amp;lt;ARCHIVEID&amp;gt;.conf&lt;br /&gt;
&lt;br /&gt;
* VirtualHost for repository&lt;br /&gt;
* Loads archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apachevhost.conf if present&lt;br /&gt;
&lt;br /&gt;
'''cfg/apache_ssl.conf&lt;br /&gt;
&lt;br /&gt;
* Global SSL configuration&lt;br /&gt;
* Loads SSL configuration for each repository: cfg/apache_ssl/*.conf&lt;br /&gt;
&lt;br /&gt;
'''cfg/apache_ssl/&amp;lt;ARCHIVEID&amp;gt;.conf&lt;br /&gt;
&lt;br /&gt;
* Repository-specific SSL configuration (note no VirtualHost)&lt;br /&gt;
&lt;br /&gt;
===Loading into Apache===&lt;br /&gt;
&lt;br /&gt;
'''Example 1 - Debian/Ubuntu&lt;br /&gt;
&lt;br /&gt;
HTTP - create a new &amp;quot;site&amp;quot; which loads the top level EPrints apache configuration file:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/apache2/sites-available/eprints3&lt;br /&gt;
 Include /opt/eprints3/cfg/apache.conf&lt;br /&gt;
 $ a2ensite eprints3&lt;br /&gt;
&lt;br /&gt;
SSL - load the top level EPrints apache configuration file from inside an SSL VirtualHost:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/apache2/sites-available/default-ssl&lt;br /&gt;
 &amp;lt;IfModule mod_ssl.c&amp;gt;&lt;br /&gt;
 	&amp;lt;VirtualHost _default_:443&amp;gt;&lt;br /&gt;
 		...&lt;br /&gt;
 		Include /opt/eprints3/cfg/apache_ssl.conf&lt;br /&gt;
 	&amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
 $ a2ensite default-ssl&lt;br /&gt;
&lt;br /&gt;
'''Example 2 - RedHat/CentOS&lt;br /&gt;
&lt;br /&gt;
HTTP - load top level EPrints apache configuration file:&lt;br /&gt;
&lt;br /&gt;
 $ tail /etc/httpd/conf/httpd.conf&lt;br /&gt;
 ...&lt;br /&gt;
 Include /opt/eprints3/cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
SSL - load the repository-specific SSL configuration from inside an SSL VirtualHost:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/httpd/conf.d/ssl.conf&lt;br /&gt;
 ...&lt;br /&gt;
 &amp;lt;VirtualHost _default:443&amp;gt;&lt;br /&gt;
 	...&lt;br /&gt;
 	Include /opt/eprints3/cfg/apache_ssl.conf&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Migrating apache configuration from 3.1 to 3.2+==&lt;br /&gt;
&lt;br /&gt;
This won't happen automatically when you upgrade from 3.1 to 3.2+ so follow the steps below to migrate the apache configuration after upgrading:&lt;br /&gt;
&lt;br /&gt;
# Back up the 3.1 apache configuration files&lt;br /&gt;
# Check for any custom directives added to 3.1 apache config files, in particular &amp;lt;tt&amp;gt;cfg/apache.conf&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apache.conf&amp;lt;/tt&amp;gt;&lt;br /&gt;
# Run &amp;lt;tt&amp;gt;bin/generate_apacheconf --system --replace&amp;lt;/tt&amp;gt; - this will generate the new apache configuration files as above&lt;br /&gt;
# If using SSL change the top level apache SSL configuration file to load &amp;lt;tt&amp;gt;/opt/eprints3/cfg/apache_ssl.conf&amp;lt;/tt&amp;gt; instead of &amp;lt;tt&amp;gt;/opt/eprints3/archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-secure.conf&amp;lt;/tt&amp;gt;&lt;br /&gt;
# Merge custom directives back in as appropriate (noting that custom directives may be lost if generate_apacheconf is run with the --system or --replace option)&lt;br /&gt;
# Restart apache&lt;br /&gt;
# After successful testing, the following 3.1 configuration files can be removed:&lt;br /&gt;
&lt;br /&gt;
 var/auto-apache.conf&lt;br /&gt;
 var/auto-apache-includes.conf&lt;br /&gt;
 archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apache.conf&lt;br /&gt;
 archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-apache.conf&lt;br /&gt;
 archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-secure.conf&lt;/div&gt;</summary>
		<author><name>Tmb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=ApacheConfigMigration&amp;diff=10803</id>
		<title>ApacheConfigMigration</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=ApacheConfigMigration&amp;diff=10803"/>
		<updated>2013-07-18T08:39:04Z</updated>

		<summary type="html">&lt;p&gt;Tmb: /* Loading into Apache */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Apache Configuration=&lt;br /&gt;
&lt;br /&gt;
The EPrints apache configuration is distributed across a number of files. This layout changed between EPrints version 3.1 and 3.2 - this page explains the differences and advises how to migrate to the new layout after upgrading from 3.1 to 3.2+.&lt;br /&gt;
&lt;br /&gt;
==Apache Configuration in 3.1==&lt;br /&gt;
&lt;br /&gt;
 cfg/&lt;br /&gt;
 └── apache.conf&lt;br /&gt;
 var/&lt;br /&gt;
 ├── auto-apache.conf&lt;br /&gt;
 └── auto-apache-includes.conf&lt;br /&gt;
 archives/&lt;br /&gt;
 └── &amp;lt;ARCHIVEID&amp;gt;&lt;br /&gt;
     ├── cfg&lt;br /&gt;
     │   ├── apache.conf&lt;br /&gt;
     │   └── apachevhost.conf&lt;br /&gt;
     └── var&lt;br /&gt;
         ├── auto-apache.conf&lt;br /&gt;
         ├── auto-secure.conf&lt;br /&gt;
         └── entities.dtd&lt;br /&gt;
&lt;br /&gt;
''Note auto-secure.conf will only be present if using SSL&lt;br /&gt;
&lt;br /&gt;
===File Overview===&lt;br /&gt;
&lt;br /&gt;
'''cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
* Loads files from var/&lt;br /&gt;
&lt;br /&gt;
'''var/auto-apache-includes.conf&lt;br /&gt;
&lt;br /&gt;
* Loads HTTP configuration for each repository: archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
'''var/auto-apache.conf&lt;br /&gt;
&lt;br /&gt;
* Global HTTP configuration&lt;br /&gt;
&lt;br /&gt;
'''archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
* Loads archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-apache.conf&lt;br /&gt;
&lt;br /&gt;
'''archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-apache.conf&lt;br /&gt;
&lt;br /&gt;
* VirtualHost for repository&lt;br /&gt;
* Loads archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apachevhost.conf&lt;br /&gt;
&lt;br /&gt;
'''archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apachevhost.conf&lt;br /&gt;
&lt;br /&gt;
* Empty - add custom directives here&lt;br /&gt;
&lt;br /&gt;
'''archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-secure.conf&lt;br /&gt;
&lt;br /&gt;
* Repository-specific SSL configuration (note no VirtualHost)&lt;br /&gt;
&lt;br /&gt;
===Loading into Apache===&lt;br /&gt;
&lt;br /&gt;
'''Example 1 - Debian/Ubuntu&lt;br /&gt;
&lt;br /&gt;
HTTP - create a new &amp;quot;site&amp;quot; which loads the top level EPrints apache configuration file:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/apache2/sites-available/eprints3&lt;br /&gt;
 Include /opt/eprints3/cfg/apache.conf&lt;br /&gt;
 $ a2ensite eprints3&lt;br /&gt;
&lt;br /&gt;
SSL - load the repository-specific EPrints apache configuration file from inside an SSL VirtualHost:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/apache2/sites-available/default-ssl&lt;br /&gt;
 &amp;lt;IfModule mod_ssl.c&amp;gt;&lt;br /&gt;
 	&amp;lt;VirtualHost _default_:443&amp;gt;&lt;br /&gt;
 		...&lt;br /&gt;
 		Include /opt/eprints3/archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-secure.conf&lt;br /&gt;
 	&amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
 $ a2ensite default-ssl&lt;br /&gt;
&lt;br /&gt;
'''Example 2 - RedHat/CentOS&lt;br /&gt;
&lt;br /&gt;
HTTP - load top level EPrints apache configuration file:&lt;br /&gt;
&lt;br /&gt;
 $ tail /etc/httpd/conf/httpd.conf&lt;br /&gt;
 ...&lt;br /&gt;
 Include /opt/eprints3/cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
SSL - load the repository-specific SSL configuration from inside an SSL VirtualHost:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/httpd/conf.d/ssl.conf&lt;br /&gt;
 ...&lt;br /&gt;
 &amp;lt;VirtualHost _default:443&amp;gt;&lt;br /&gt;
 	...&lt;br /&gt;
 	Include /opt/eprints3/archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-secure.conf&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Apache Configuration in 3.1==&lt;br /&gt;
&lt;br /&gt;
From 3.2 onwards things were simplified - there are fewer configuration files in a single location. The configuration files are shorter as much of the processing was moved into the EPrints::Apache::Rewrite module.&lt;br /&gt;
&lt;br /&gt;
 cfg/&lt;br /&gt;
 ├── apache.conf&lt;br /&gt;
 ├── apache&lt;br /&gt;
 │   └── &amp;lt;ARCHIVEID&amp;gt;.conf&lt;br /&gt;
 ├── apache_ssl.conf&lt;br /&gt;
 └── apache_ssl&lt;br /&gt;
     └── &amp;lt;ARCHIVEID&amp;gt;.conf&lt;br /&gt;
&lt;br /&gt;
'''Note apache_ssl* files will only be present if using SSL.&lt;br /&gt;
&lt;br /&gt;
===File Overview===&lt;br /&gt;
&lt;br /&gt;
'''cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
* Global configuration&lt;br /&gt;
* Loads HTTP configuration for each repository: cfg/apache/*.conf&lt;br /&gt;
&lt;br /&gt;
'''cfg/apache/&amp;lt;ARCHIVEID&amp;gt;.conf&lt;br /&gt;
&lt;br /&gt;
* VirtualHost for repository&lt;br /&gt;
* Loads archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apachevhost.conf if present&lt;br /&gt;
&lt;br /&gt;
'''cfg/apache_ssl.conf&lt;br /&gt;
&lt;br /&gt;
* Global SSL configuration&lt;br /&gt;
* Loads SSL configuration for each repository: cfg/apache_ssl/*.conf&lt;br /&gt;
&lt;br /&gt;
'''cfg/apache_ssl/&amp;lt;ARCHIVEID&amp;gt;.conf&lt;br /&gt;
&lt;br /&gt;
* Repository-specific SSL configuration (note no VirtualHost)&lt;br /&gt;
&lt;br /&gt;
===Loading into Apache===&lt;br /&gt;
&lt;br /&gt;
'''Example 1 - Debian/Ubuntu&lt;br /&gt;
&lt;br /&gt;
HTTP - create a new &amp;quot;site&amp;quot; which loads the top level EPrints apache configuration file:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/apache2/sites-available/eprints3&lt;br /&gt;
 Include /opt/eprints3/cfg/apache.conf&lt;br /&gt;
 $ a2ensite eprints3&lt;br /&gt;
&lt;br /&gt;
SSL - load the top level EPrints apache configuration file from inside an SSL VirtualHost:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/apache2/sites-available/default-ssl&lt;br /&gt;
 &amp;lt;IfModule mod_ssl.c&amp;gt;&lt;br /&gt;
 	&amp;lt;VirtualHost _default_:443&amp;gt;&lt;br /&gt;
 		...&lt;br /&gt;
 		Include /opt/eprints3/cfg/apache_ssl.conf&lt;br /&gt;
 	&amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
 $ a2ensite default-ssl&lt;br /&gt;
&lt;br /&gt;
'''Example 2 - RedHat/CentOS&lt;br /&gt;
&lt;br /&gt;
HTTP - load top level EPrints apache configuration file:&lt;br /&gt;
&lt;br /&gt;
 $ tail /etc/httpd/conf/httpd.conf&lt;br /&gt;
 ...&lt;br /&gt;
 Include /opt/eprints3/cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
SSL - load the repository-specific SSL configuration from inside an SSL VirtualHost:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/httpd/conf.d/ssl.conf&lt;br /&gt;
 ...&lt;br /&gt;
 &amp;lt;VirtualHost _default:443&amp;gt;&lt;br /&gt;
 	...&lt;br /&gt;
 	Include /opt/eprints3/cfg/apache_ssl.conf&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Migrating apache configuration from 3.1 to 3.2+==&lt;br /&gt;
&lt;br /&gt;
This won't happen automatically when you upgrade from 3.1 to 3.2+ so follow the steps below to migrate the apache configuration after upgrading:&lt;br /&gt;
&lt;br /&gt;
# Back up the 3.1 apache configuration files&lt;br /&gt;
# Check for any custom directives added to 3.1 apache config files, in particular &amp;lt;tt&amp;gt;cfg/apache.conf&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apache.conf&amp;lt;/tt&amp;gt;&lt;br /&gt;
# Run &amp;lt;tt&amp;gt;bin/generate_apacheconf --system --replace&amp;lt;/tt&amp;gt; - this will generate the new apache configuration files as above&lt;br /&gt;
# If using SSL change the top level apache SSL configuration file to load &amp;lt;tt&amp;gt;/opt/eprints3/cfg/apache_ssl.conf&amp;lt;/tt&amp;gt; instead of &amp;lt;tt&amp;gt;/opt/eprints3/archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-secure.conf&amp;lt;/tt&amp;gt;&lt;br /&gt;
# Merge custom directives back in as appropriate (noting that custom directives may be lost if generate_apacheconf is run with the --system or --replace option)&lt;br /&gt;
# Restart apache&lt;br /&gt;
# After successful testing, the following 3.1 configuration files can be removed:&lt;br /&gt;
&lt;br /&gt;
 var/auto-apache.conf&lt;br /&gt;
 var/auto-apache-includes.conf&lt;br /&gt;
 archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apache.conf&lt;br /&gt;
 archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-apache.conf&lt;br /&gt;
 archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-secure.conf&lt;/div&gt;</summary>
		<author><name>Tmb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=ApacheConfigMigration&amp;diff=10802</id>
		<title>ApacheConfigMigration</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=ApacheConfigMigration&amp;diff=10802"/>
		<updated>2013-07-18T08:38:55Z</updated>

		<summary type="html">&lt;p&gt;Tmb: /* Loading into Apache */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Apache Configuration=&lt;br /&gt;
&lt;br /&gt;
The EPrints apache configuration is distributed across a number of files. This layout changed between EPrints version 3.1 and 3.2 - this page explains the differences and advises how to migrate to the new layout after upgrading from 3.1 to 3.2+.&lt;br /&gt;
&lt;br /&gt;
==Apache Configuration in 3.1==&lt;br /&gt;
&lt;br /&gt;
 cfg/&lt;br /&gt;
 └── apache.conf&lt;br /&gt;
 var/&lt;br /&gt;
 ├── auto-apache.conf&lt;br /&gt;
 └── auto-apache-includes.conf&lt;br /&gt;
 archives/&lt;br /&gt;
 └── &amp;lt;ARCHIVEID&amp;gt;&lt;br /&gt;
     ├── cfg&lt;br /&gt;
     │   ├── apache.conf&lt;br /&gt;
     │   └── apachevhost.conf&lt;br /&gt;
     └── var&lt;br /&gt;
         ├── auto-apache.conf&lt;br /&gt;
         ├── auto-secure.conf&lt;br /&gt;
         └── entities.dtd&lt;br /&gt;
&lt;br /&gt;
''Note auto-secure.conf will only be present if using SSL&lt;br /&gt;
&lt;br /&gt;
===File Overview===&lt;br /&gt;
&lt;br /&gt;
'''cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
* Loads files from var/&lt;br /&gt;
&lt;br /&gt;
'''var/auto-apache-includes.conf&lt;br /&gt;
&lt;br /&gt;
* Loads HTTP configuration for each repository: archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
'''var/auto-apache.conf&lt;br /&gt;
&lt;br /&gt;
* Global HTTP configuration&lt;br /&gt;
&lt;br /&gt;
'''archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
* Loads archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-apache.conf&lt;br /&gt;
&lt;br /&gt;
'''archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-apache.conf&lt;br /&gt;
&lt;br /&gt;
* VirtualHost for repository&lt;br /&gt;
* Loads archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apachevhost.conf&lt;br /&gt;
&lt;br /&gt;
'''archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apachevhost.conf&lt;br /&gt;
&lt;br /&gt;
* Empty - add custom directives here&lt;br /&gt;
&lt;br /&gt;
'''archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-secure.conf&lt;br /&gt;
&lt;br /&gt;
* Repository-specific SSL configuration (note no VirtualHost)&lt;br /&gt;
&lt;br /&gt;
===Loading into Apache===&lt;br /&gt;
&lt;br /&gt;
'''Example 1 - Debian/Ubuntu&lt;br /&gt;
&lt;br /&gt;
HTTP - create a new &amp;quot;site&amp;quot; which loads the top level EPrints apache configuration file:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/apache2/sites-available/eprints3&lt;br /&gt;
 Include /opt/eprints3/cfg/apache.conf&lt;br /&gt;
 $ a2ensite eprints3&lt;br /&gt;
&lt;br /&gt;
SSL - load the repository-specific EPrints apache configuration file from inside an SSL VirtualHost:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/apache2/sites-available/default-ssl&lt;br /&gt;
 &amp;lt;IfModule mod_ssl.c&amp;gt;&lt;br /&gt;
 	&amp;lt;VirtualHost _default_:443&amp;gt;&lt;br /&gt;
 		...&lt;br /&gt;
 		Include /opt/eprints3/archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-secure.conf&lt;br /&gt;
 	&amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
 $ a2ensite default-ssl&lt;br /&gt;
&lt;br /&gt;
'''Example 2 - RedHat/CentOS&lt;br /&gt;
&lt;br /&gt;
HTTP - load top level EPrints apache configuration file:&lt;br /&gt;
&lt;br /&gt;
 $ tail /etc/httpd/conf/httpd.conf&lt;br /&gt;
 ...&lt;br /&gt;
 Include /opt/eprints3/cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
SSL - load the repository-specific SSL configuration from inside an SSL VirtualHost:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/httpd/conf.d/ssl.conf&lt;br /&gt;
 ...&lt;br /&gt;
 &amp;lt;VirtualHost _default:443&amp;gt;&lt;br /&gt;
 	...&lt;br /&gt;
 	Include /opt/eprints3/archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-secure.conf&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Apache Configuration in 3.1==&lt;br /&gt;
&lt;br /&gt;
From 3.2 onwards things were simplified - there are fewer configuration files in a single location. The configuration files are shorter as much of the processing was moved into the EPrints::Apache::Rewrite module.&lt;br /&gt;
&lt;br /&gt;
 cfg/&lt;br /&gt;
 ├── apache.conf&lt;br /&gt;
 ├── apache&lt;br /&gt;
 │   └── &amp;lt;ARCHIVEID&amp;gt;.conf&lt;br /&gt;
 ├── apache_ssl.conf&lt;br /&gt;
 └── apache_ssl&lt;br /&gt;
     └── &amp;lt;ARCHIVEID&amp;gt;.conf&lt;br /&gt;
&lt;br /&gt;
'''Note apache_ssl* files will only be present if using SSL.&lt;br /&gt;
&lt;br /&gt;
===File Overview===&lt;br /&gt;
&lt;br /&gt;
'''cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
* Global configuration&lt;br /&gt;
* Loads HTTP configuration for each repository: cfg/apache/*.conf&lt;br /&gt;
&lt;br /&gt;
'''cfg/apache/&amp;lt;ARCHIVEID&amp;gt;.conf&lt;br /&gt;
&lt;br /&gt;
* VirtualHost for repository&lt;br /&gt;
* Loads archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apachevhost.conf if present&lt;br /&gt;
&lt;br /&gt;
'''cfg/apache_ssl.conf&lt;br /&gt;
&lt;br /&gt;
* Global SSL configuration&lt;br /&gt;
* Loads SSL configuration for each repository: cfg/apache_ssl/*.conf&lt;br /&gt;
&lt;br /&gt;
'''cfg/apache_ssl/&amp;lt;ARCHIVEID&amp;gt;.conf&lt;br /&gt;
&lt;br /&gt;
* Repository-specific SSL configuration (note no VirtualHost)&lt;br /&gt;
&lt;br /&gt;
==Loading into Apache==&lt;br /&gt;
&lt;br /&gt;
'''Example 1 - Debian/Ubuntu&lt;br /&gt;
&lt;br /&gt;
HTTP - create a new &amp;quot;site&amp;quot; which loads the top level EPrints apache configuration file:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/apache2/sites-available/eprints3&lt;br /&gt;
 Include /opt/eprints3/cfg/apache.conf&lt;br /&gt;
 $ a2ensite eprints3&lt;br /&gt;
&lt;br /&gt;
SSL - load the top level EPrints apache configuration file from inside an SSL VirtualHost:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/apache2/sites-available/default-ssl&lt;br /&gt;
 &amp;lt;IfModule mod_ssl.c&amp;gt;&lt;br /&gt;
 	&amp;lt;VirtualHost _default_:443&amp;gt;&lt;br /&gt;
 		...&lt;br /&gt;
 		Include /opt/eprints3/cfg/apache_ssl.conf&lt;br /&gt;
 	&amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
 $ a2ensite default-ssl&lt;br /&gt;
&lt;br /&gt;
'''Example 2 - RedHat/CentOS&lt;br /&gt;
&lt;br /&gt;
HTTP - load top level EPrints apache configuration file:&lt;br /&gt;
&lt;br /&gt;
 $ tail /etc/httpd/conf/httpd.conf&lt;br /&gt;
 ...&lt;br /&gt;
 Include /opt/eprints3/cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
SSL - load the repository-specific SSL configuration from inside an SSL VirtualHost:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/httpd/conf.d/ssl.conf&lt;br /&gt;
 ...&lt;br /&gt;
 &amp;lt;VirtualHost _default:443&amp;gt;&lt;br /&gt;
 	...&lt;br /&gt;
 	Include /opt/eprints3/cfg/apache_ssl.conf&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Migrating apache configuration from 3.1 to 3.2+==&lt;br /&gt;
&lt;br /&gt;
This won't happen automatically when you upgrade from 3.1 to 3.2+ so follow the steps below to migrate the apache configuration after upgrading:&lt;br /&gt;
&lt;br /&gt;
# Back up the 3.1 apache configuration files&lt;br /&gt;
# Check for any custom directives added to 3.1 apache config files, in particular &amp;lt;tt&amp;gt;cfg/apache.conf&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apache.conf&amp;lt;/tt&amp;gt;&lt;br /&gt;
# Run &amp;lt;tt&amp;gt;bin/generate_apacheconf --system --replace&amp;lt;/tt&amp;gt; - this will generate the new apache configuration files as above&lt;br /&gt;
# If using SSL change the top level apache SSL configuration file to load &amp;lt;tt&amp;gt;/opt/eprints3/cfg/apache_ssl.conf&amp;lt;/tt&amp;gt; instead of &amp;lt;tt&amp;gt;/opt/eprints3/archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-secure.conf&amp;lt;/tt&amp;gt;&lt;br /&gt;
# Merge custom directives back in as appropriate (noting that custom directives may be lost if generate_apacheconf is run with the --system or --replace option)&lt;br /&gt;
# Restart apache&lt;br /&gt;
# After successful testing, the following 3.1 configuration files can be removed:&lt;br /&gt;
&lt;br /&gt;
 var/auto-apache.conf&lt;br /&gt;
 var/auto-apache-includes.conf&lt;br /&gt;
 archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apache.conf&lt;br /&gt;
 archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-apache.conf&lt;br /&gt;
 archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-secure.conf&lt;/div&gt;</summary>
		<author><name>Tmb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=ApacheConfigMigration&amp;diff=10801</id>
		<title>ApacheConfigMigration</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=ApacheConfigMigration&amp;diff=10801"/>
		<updated>2013-07-18T08:38:07Z</updated>

		<summary type="html">&lt;p&gt;Tmb: /* Migrating apache configuration from 3.1 to 3.2+ */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Apache Configuration=&lt;br /&gt;
&lt;br /&gt;
The EPrints apache configuration is distributed across a number of files. This layout changed between EPrints version 3.1 and 3.2 - this page explains the differences and advises how to migrate to the new layout after upgrading from 3.1 to 3.2+.&lt;br /&gt;
&lt;br /&gt;
==Apache Configuration in 3.1==&lt;br /&gt;
&lt;br /&gt;
 cfg/&lt;br /&gt;
 └── apache.conf&lt;br /&gt;
 var/&lt;br /&gt;
 ├── auto-apache.conf&lt;br /&gt;
 └── auto-apache-includes.conf&lt;br /&gt;
 archives/&lt;br /&gt;
 └── &amp;lt;ARCHIVEID&amp;gt;&lt;br /&gt;
     ├── cfg&lt;br /&gt;
     │   ├── apache.conf&lt;br /&gt;
     │   └── apachevhost.conf&lt;br /&gt;
     └── var&lt;br /&gt;
         ├── auto-apache.conf&lt;br /&gt;
         ├── auto-secure.conf&lt;br /&gt;
         └── entities.dtd&lt;br /&gt;
&lt;br /&gt;
''Note auto-secure.conf will only be present if using SSL&lt;br /&gt;
&lt;br /&gt;
===File Overview===&lt;br /&gt;
&lt;br /&gt;
'''cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
* Loads files from var/&lt;br /&gt;
&lt;br /&gt;
'''var/auto-apache-includes.conf&lt;br /&gt;
&lt;br /&gt;
* Loads HTTP configuration for each repository: archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
'''var/auto-apache.conf&lt;br /&gt;
&lt;br /&gt;
* Global HTTP configuration&lt;br /&gt;
&lt;br /&gt;
'''archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
* Loads archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-apache.conf&lt;br /&gt;
&lt;br /&gt;
'''archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-apache.conf&lt;br /&gt;
&lt;br /&gt;
* VirtualHost for repository&lt;br /&gt;
* Loads archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apachevhost.conf&lt;br /&gt;
&lt;br /&gt;
'''archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apachevhost.conf&lt;br /&gt;
&lt;br /&gt;
* Empty - add custom directives here&lt;br /&gt;
&lt;br /&gt;
'''archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-secure.conf&lt;br /&gt;
&lt;br /&gt;
* Repository-specific SSL configuration (note no VirtualHost)&lt;br /&gt;
&lt;br /&gt;
==Loading into Apache==&lt;br /&gt;
&lt;br /&gt;
'''Example 1 - Debian/Ubuntu&lt;br /&gt;
&lt;br /&gt;
HTTP - create a new &amp;quot;site&amp;quot; which loads the top level EPrints apache configuration file:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/apache2/sites-available/eprints3&lt;br /&gt;
 Include /opt/eprints3/cfg/apache.conf&lt;br /&gt;
 $ a2ensite eprints3&lt;br /&gt;
&lt;br /&gt;
SSL - load the repository-specific EPrints apache configuration file from inside an SSL VirtualHost:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/apache2/sites-available/default-ssl&lt;br /&gt;
 &amp;lt;IfModule mod_ssl.c&amp;gt;&lt;br /&gt;
 	&amp;lt;VirtualHost _default_:443&amp;gt;&lt;br /&gt;
 		...&lt;br /&gt;
 		Include /opt/eprints3/archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-secure.conf&lt;br /&gt;
 	&amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
 $ a2ensite default-ssl&lt;br /&gt;
&lt;br /&gt;
'''Example 2 - RedHat/CentOS&lt;br /&gt;
&lt;br /&gt;
HTTP - load top level EPrints apache configuration file:&lt;br /&gt;
&lt;br /&gt;
 $ tail /etc/httpd/conf/httpd.conf&lt;br /&gt;
 ...&lt;br /&gt;
 Include /opt/eprints3/cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
SSL - load the repository-specific SSL configuration from inside an SSL VirtualHost:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/httpd/conf.d/ssl.conf&lt;br /&gt;
 ...&lt;br /&gt;
 &amp;lt;VirtualHost _default:443&amp;gt;&lt;br /&gt;
 	...&lt;br /&gt;
 	Include /opt/eprints3/archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-secure.conf&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Apache Configuration in 3.1==&lt;br /&gt;
&lt;br /&gt;
From 3.2 onwards things were simplified - there are fewer configuration files in a single location. The configuration files are shorter as much of the processing was moved into the EPrints::Apache::Rewrite module.&lt;br /&gt;
&lt;br /&gt;
 cfg/&lt;br /&gt;
 ├── apache.conf&lt;br /&gt;
 ├── apache&lt;br /&gt;
 │   └── &amp;lt;ARCHIVEID&amp;gt;.conf&lt;br /&gt;
 ├── apache_ssl.conf&lt;br /&gt;
 └── apache_ssl&lt;br /&gt;
     └── &amp;lt;ARCHIVEID&amp;gt;.conf&lt;br /&gt;
&lt;br /&gt;
'''Note apache_ssl* files will only be present if using SSL.&lt;br /&gt;
&lt;br /&gt;
===File Overview===&lt;br /&gt;
&lt;br /&gt;
'''cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
* Global configuration&lt;br /&gt;
* Loads HTTP configuration for each repository: cfg/apache/*.conf&lt;br /&gt;
&lt;br /&gt;
'''cfg/apache/&amp;lt;ARCHIVEID&amp;gt;.conf&lt;br /&gt;
&lt;br /&gt;
* VirtualHost for repository&lt;br /&gt;
* Loads archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apachevhost.conf if present&lt;br /&gt;
&lt;br /&gt;
'''cfg/apache_ssl.conf&lt;br /&gt;
&lt;br /&gt;
* Global SSL configuration&lt;br /&gt;
* Loads SSL configuration for each repository: cfg/apache_ssl/*.conf&lt;br /&gt;
&lt;br /&gt;
'''cfg/apache_ssl/&amp;lt;ARCHIVEID&amp;gt;.conf&lt;br /&gt;
&lt;br /&gt;
* Repository-specific SSL configuration (note no VirtualHost)&lt;br /&gt;
&lt;br /&gt;
==Loading into Apache==&lt;br /&gt;
&lt;br /&gt;
'''Example 1 - Debian/Ubuntu&lt;br /&gt;
&lt;br /&gt;
HTTP - create a new &amp;quot;site&amp;quot; which loads the top level EPrints apache configuration file:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/apache2/sites-available/eprints3&lt;br /&gt;
 Include /opt/eprints3/cfg/apache.conf&lt;br /&gt;
 $ a2ensite eprints3&lt;br /&gt;
&lt;br /&gt;
SSL - load the top level EPrints apache configuration file from inside an SSL VirtualHost:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/apache2/sites-available/default-ssl&lt;br /&gt;
 &amp;lt;IfModule mod_ssl.c&amp;gt;&lt;br /&gt;
 	&amp;lt;VirtualHost _default_:443&amp;gt;&lt;br /&gt;
 		...&lt;br /&gt;
 		Include /opt/eprints3/cfg/apache_ssl.conf&lt;br /&gt;
 	&amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
 $ a2ensite default-ssl&lt;br /&gt;
&lt;br /&gt;
'''Example 2 - RedHat/CentOS&lt;br /&gt;
&lt;br /&gt;
HTTP - load top level EPrints apache configuration file:&lt;br /&gt;
&lt;br /&gt;
 $ tail /etc/httpd/conf/httpd.conf&lt;br /&gt;
 ...&lt;br /&gt;
 Include /opt/eprints3/cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
SSL - load the repository-specific SSL configuration from inside an SSL VirtualHost:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/httpd/conf.d/ssl.conf&lt;br /&gt;
 ...&lt;br /&gt;
 &amp;lt;VirtualHost _default:443&amp;gt;&lt;br /&gt;
 	...&lt;br /&gt;
 	Include /opt/eprints3/cfg/apache_ssl.conf&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Migrating apache configuration from 3.1 to 3.2+==&lt;br /&gt;
&lt;br /&gt;
This won't happen automatically when you upgrade from 3.1 to 3.2+ so follow the steps below to migrate the apache configuration after upgrading:&lt;br /&gt;
&lt;br /&gt;
# Back up the 3.1 apache configuration files&lt;br /&gt;
# Check for any custom directives added to 3.1 apache config files, in particular &amp;lt;tt&amp;gt;cfg/apache.conf&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apache.conf&amp;lt;/tt&amp;gt;&lt;br /&gt;
# Run &amp;lt;tt&amp;gt;bin/generate_apacheconf --system --replace&amp;lt;/tt&amp;gt; - this will generate the new apache configuration files as above&lt;br /&gt;
# If using SSL change the top level apache SSL configuration file to load &amp;lt;tt&amp;gt;/opt/eprints3/cfg/apache_ssl.conf&amp;lt;/tt&amp;gt; instead of &amp;lt;tt&amp;gt;/opt/eprints3/archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-secure.conf&amp;lt;/tt&amp;gt;&lt;br /&gt;
# Merge custom directives back in as appropriate (noting that custom directives may be lost if generate_apacheconf is run with the --system or --replace option)&lt;br /&gt;
# Restart apache&lt;br /&gt;
# After successful testing, the following 3.1 configuration files can be removed:&lt;br /&gt;
&lt;br /&gt;
 var/auto-apache.conf&lt;br /&gt;
 var/auto-apache-includes.conf&lt;br /&gt;
 archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apache.conf&lt;br /&gt;
 archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-apache.conf&lt;br /&gt;
 archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-secure.conf&lt;/div&gt;</summary>
		<author><name>Tmb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=ApacheConfigMigration&amp;diff=10800</id>
		<title>ApacheConfigMigration</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=ApacheConfigMigration&amp;diff=10800"/>
		<updated>2013-07-18T08:37:04Z</updated>

		<summary type="html">&lt;p&gt;Tmb: /* Migrating apache configuration from 3.1 to 3.2+ */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Apache Configuration=&lt;br /&gt;
&lt;br /&gt;
The EPrints apache configuration is distributed across a number of files. This layout changed between EPrints version 3.1 and 3.2 - this page explains the differences and advises how to migrate to the new layout after upgrading from 3.1 to 3.2+.&lt;br /&gt;
&lt;br /&gt;
==Apache Configuration in 3.1==&lt;br /&gt;
&lt;br /&gt;
 cfg/&lt;br /&gt;
 └── apache.conf&lt;br /&gt;
 var/&lt;br /&gt;
 ├── auto-apache.conf&lt;br /&gt;
 └── auto-apache-includes.conf&lt;br /&gt;
 archives/&lt;br /&gt;
 └── &amp;lt;ARCHIVEID&amp;gt;&lt;br /&gt;
     ├── cfg&lt;br /&gt;
     │   ├── apache.conf&lt;br /&gt;
     │   └── apachevhost.conf&lt;br /&gt;
     └── var&lt;br /&gt;
         ├── auto-apache.conf&lt;br /&gt;
         ├── auto-secure.conf&lt;br /&gt;
         └── entities.dtd&lt;br /&gt;
&lt;br /&gt;
''Note auto-secure.conf will only be present if using SSL&lt;br /&gt;
&lt;br /&gt;
===File Overview===&lt;br /&gt;
&lt;br /&gt;
'''cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
* Loads files from var/&lt;br /&gt;
&lt;br /&gt;
'''var/auto-apache-includes.conf&lt;br /&gt;
&lt;br /&gt;
* Loads HTTP configuration for each repository: archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
'''var/auto-apache.conf&lt;br /&gt;
&lt;br /&gt;
* Global HTTP configuration&lt;br /&gt;
&lt;br /&gt;
'''archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
* Loads archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-apache.conf&lt;br /&gt;
&lt;br /&gt;
'''archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-apache.conf&lt;br /&gt;
&lt;br /&gt;
* VirtualHost for repository&lt;br /&gt;
* Loads archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apachevhost.conf&lt;br /&gt;
&lt;br /&gt;
'''archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apachevhost.conf&lt;br /&gt;
&lt;br /&gt;
* Empty - add custom directives here&lt;br /&gt;
&lt;br /&gt;
'''archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-secure.conf&lt;br /&gt;
&lt;br /&gt;
* Repository-specific SSL configuration (note no VirtualHost)&lt;br /&gt;
&lt;br /&gt;
==Loading into Apache==&lt;br /&gt;
&lt;br /&gt;
'''Example 1 - Debian/Ubuntu&lt;br /&gt;
&lt;br /&gt;
HTTP - create a new &amp;quot;site&amp;quot; which loads the top level EPrints apache configuration file:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/apache2/sites-available/eprints3&lt;br /&gt;
 Include /opt/eprints3/cfg/apache.conf&lt;br /&gt;
 $ a2ensite eprints3&lt;br /&gt;
&lt;br /&gt;
SSL - load the repository-specific EPrints apache configuration file from inside an SSL VirtualHost:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/apache2/sites-available/default-ssl&lt;br /&gt;
 &amp;lt;IfModule mod_ssl.c&amp;gt;&lt;br /&gt;
 	&amp;lt;VirtualHost _default_:443&amp;gt;&lt;br /&gt;
 		...&lt;br /&gt;
 		Include /opt/eprints3/archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-secure.conf&lt;br /&gt;
 	&amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
 $ a2ensite default-ssl&lt;br /&gt;
&lt;br /&gt;
'''Example 2 - RedHat/CentOS&lt;br /&gt;
&lt;br /&gt;
HTTP - load top level EPrints apache configuration file:&lt;br /&gt;
&lt;br /&gt;
 $ tail /etc/httpd/conf/httpd.conf&lt;br /&gt;
 ...&lt;br /&gt;
 Include /opt/eprints3/cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
SSL - load the repository-specific SSL configuration from inside an SSL VirtualHost:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/httpd/conf.d/ssl.conf&lt;br /&gt;
 ...&lt;br /&gt;
 &amp;lt;VirtualHost _default:443&amp;gt;&lt;br /&gt;
 	...&lt;br /&gt;
 	Include /opt/eprints3/archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-secure.conf&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Apache Configuration in 3.1==&lt;br /&gt;
&lt;br /&gt;
From 3.2 onwards things were simplified - there are fewer configuration files in a single location. The configuration files are shorter as much of the processing was moved into the EPrints::Apache::Rewrite module.&lt;br /&gt;
&lt;br /&gt;
 cfg/&lt;br /&gt;
 ├── apache.conf&lt;br /&gt;
 ├── apache&lt;br /&gt;
 │   └── &amp;lt;ARCHIVEID&amp;gt;.conf&lt;br /&gt;
 ├── apache_ssl.conf&lt;br /&gt;
 └── apache_ssl&lt;br /&gt;
     └── &amp;lt;ARCHIVEID&amp;gt;.conf&lt;br /&gt;
&lt;br /&gt;
'''Note apache_ssl* files will only be present if using SSL.&lt;br /&gt;
&lt;br /&gt;
===File Overview===&lt;br /&gt;
&lt;br /&gt;
'''cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
* Global configuration&lt;br /&gt;
* Loads HTTP configuration for each repository: cfg/apache/*.conf&lt;br /&gt;
&lt;br /&gt;
'''cfg/apache/&amp;lt;ARCHIVEID&amp;gt;.conf&lt;br /&gt;
&lt;br /&gt;
* VirtualHost for repository&lt;br /&gt;
* Loads archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apachevhost.conf if present&lt;br /&gt;
&lt;br /&gt;
'''cfg/apache_ssl.conf&lt;br /&gt;
&lt;br /&gt;
* Global SSL configuration&lt;br /&gt;
* Loads SSL configuration for each repository: cfg/apache_ssl/*.conf&lt;br /&gt;
&lt;br /&gt;
'''cfg/apache_ssl/&amp;lt;ARCHIVEID&amp;gt;.conf&lt;br /&gt;
&lt;br /&gt;
* Repository-specific SSL configuration (note no VirtualHost)&lt;br /&gt;
&lt;br /&gt;
==Loading into Apache==&lt;br /&gt;
&lt;br /&gt;
'''Example 1 - Debian/Ubuntu&lt;br /&gt;
&lt;br /&gt;
HTTP - create a new &amp;quot;site&amp;quot; which loads the top level EPrints apache configuration file:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/apache2/sites-available/eprints3&lt;br /&gt;
 Include /opt/eprints3/cfg/apache.conf&lt;br /&gt;
 $ a2ensite eprints3&lt;br /&gt;
&lt;br /&gt;
SSL - load the top level EPrints apache configuration file from inside an SSL VirtualHost:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/apache2/sites-available/default-ssl&lt;br /&gt;
 &amp;lt;IfModule mod_ssl.c&amp;gt;&lt;br /&gt;
 	&amp;lt;VirtualHost _default_:443&amp;gt;&lt;br /&gt;
 		...&lt;br /&gt;
 		Include /opt/eprints3/cfg/apache_ssl.conf&lt;br /&gt;
 	&amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
 $ a2ensite default-ssl&lt;br /&gt;
&lt;br /&gt;
'''Example 2 - RedHat/CentOS&lt;br /&gt;
&lt;br /&gt;
HTTP - load top level EPrints apache configuration file:&lt;br /&gt;
&lt;br /&gt;
 $ tail /etc/httpd/conf/httpd.conf&lt;br /&gt;
 ...&lt;br /&gt;
 Include /opt/eprints3/cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
SSL - load the repository-specific SSL configuration from inside an SSL VirtualHost:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/httpd/conf.d/ssl.conf&lt;br /&gt;
 ...&lt;br /&gt;
 &amp;lt;VirtualHost _default:443&amp;gt;&lt;br /&gt;
 	...&lt;br /&gt;
 	Include /opt/eprints3/cfg/apache_ssl.conf&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Migrating apache configuration from 3.1 to 3.2+==&lt;br /&gt;
&lt;br /&gt;
This won't happen automatically when you upgrade from 3.1 to 3.2+ so follow the steps below to migrate the apache configuration after upgrading:&lt;br /&gt;
&lt;br /&gt;
# Back up the 3.1 apache configuration files&lt;br /&gt;
# Check for any custom directives added to 3.1 apache config files, in particular &amp;lt;tt&amp;gt;cfg/apache.conf&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apache.conf&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apachevhost.conf&amp;lt;/tt&amp;gt;&lt;br /&gt;
# Run &amp;lt;tt&amp;gt;bin/generate_apacheconf --system --replace&amp;lt;/tt&amp;gt; - this will generate the new apache configuration files as above&lt;br /&gt;
# If using SSL change the top level apache SSL configuration file to load &amp;lt;tt&amp;gt;/opt/eprints3/cfg/apache_ssl.conf&amp;lt;/tt&amp;gt; instead of &amp;lt;tt&amp;gt;/opt/eprints3/archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-secure.conf&amp;lt;/tt&amp;gt;&lt;br /&gt;
# Merge custom directives back in as appropriate (noting that custom directives may be lost if generate_apacheconf is run with the --system or --replace option)&lt;br /&gt;
# Restart apache&lt;br /&gt;
# After successful testing, the following 3.1 configuration files can be removed:&lt;br /&gt;
&lt;br /&gt;
 var/auto-apache.conf&lt;br /&gt;
 var/auto-apache-includes.conf&lt;br /&gt;
 archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apache.conf&lt;br /&gt;
 archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-apache.conf&lt;br /&gt;
 archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-secure.conf&lt;/div&gt;</summary>
		<author><name>Tmb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=ApacheConfigMigration&amp;diff=10799</id>
		<title>ApacheConfigMigration</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=ApacheConfigMigration&amp;diff=10799"/>
		<updated>2013-07-18T08:34:58Z</updated>

		<summary type="html">&lt;p&gt;Tmb: /* Migrating apache configuration from 3.1 to 3.2+ */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Apache Configuration=&lt;br /&gt;
&lt;br /&gt;
The EPrints apache configuration is distributed across a number of files. This layout changed between EPrints version 3.1 and 3.2 - this page explains the differences and advises how to migrate to the new layout after upgrading from 3.1 to 3.2+.&lt;br /&gt;
&lt;br /&gt;
==Apache Configuration in 3.1==&lt;br /&gt;
&lt;br /&gt;
 cfg/&lt;br /&gt;
 └── apache.conf&lt;br /&gt;
 var/&lt;br /&gt;
 ├── auto-apache.conf&lt;br /&gt;
 └── auto-apache-includes.conf&lt;br /&gt;
 archives/&lt;br /&gt;
 └── &amp;lt;ARCHIVEID&amp;gt;&lt;br /&gt;
     ├── cfg&lt;br /&gt;
     │   ├── apache.conf&lt;br /&gt;
     │   └── apachevhost.conf&lt;br /&gt;
     └── var&lt;br /&gt;
         ├── auto-apache.conf&lt;br /&gt;
         ├── auto-secure.conf&lt;br /&gt;
         └── entities.dtd&lt;br /&gt;
&lt;br /&gt;
''Note auto-secure.conf will only be present if using SSL&lt;br /&gt;
&lt;br /&gt;
===File Overview===&lt;br /&gt;
&lt;br /&gt;
'''cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
* Loads files from var/&lt;br /&gt;
&lt;br /&gt;
'''var/auto-apache-includes.conf&lt;br /&gt;
&lt;br /&gt;
* Loads HTTP configuration for each repository: archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
'''var/auto-apache.conf&lt;br /&gt;
&lt;br /&gt;
* Global HTTP configuration&lt;br /&gt;
&lt;br /&gt;
'''archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
* Loads archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-apache.conf&lt;br /&gt;
&lt;br /&gt;
'''archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-apache.conf&lt;br /&gt;
&lt;br /&gt;
* VirtualHost for repository&lt;br /&gt;
* Loads archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apachevhost.conf&lt;br /&gt;
&lt;br /&gt;
'''archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apachevhost.conf&lt;br /&gt;
&lt;br /&gt;
* Empty - add custom directives here&lt;br /&gt;
&lt;br /&gt;
'''archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-secure.conf&lt;br /&gt;
&lt;br /&gt;
* Repository-specific SSL configuration (note no VirtualHost)&lt;br /&gt;
&lt;br /&gt;
==Loading into Apache==&lt;br /&gt;
&lt;br /&gt;
'''Example 1 - Debian/Ubuntu&lt;br /&gt;
&lt;br /&gt;
HTTP - create a new &amp;quot;site&amp;quot; which loads the top level EPrints apache configuration file:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/apache2/sites-available/eprints3&lt;br /&gt;
 Include /opt/eprints3/cfg/apache.conf&lt;br /&gt;
 $ a2ensite eprints3&lt;br /&gt;
&lt;br /&gt;
SSL - load the repository-specific EPrints apache configuration file from inside an SSL VirtualHost:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/apache2/sites-available/default-ssl&lt;br /&gt;
 &amp;lt;IfModule mod_ssl.c&amp;gt;&lt;br /&gt;
 	&amp;lt;VirtualHost _default_:443&amp;gt;&lt;br /&gt;
 		...&lt;br /&gt;
 		Include /opt/eprints3/archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-secure.conf&lt;br /&gt;
 	&amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
 $ a2ensite default-ssl&lt;br /&gt;
&lt;br /&gt;
'''Example 2 - RedHat/CentOS&lt;br /&gt;
&lt;br /&gt;
HTTP - load top level EPrints apache configuration file:&lt;br /&gt;
&lt;br /&gt;
 $ tail /etc/httpd/conf/httpd.conf&lt;br /&gt;
 ...&lt;br /&gt;
 Include /opt/eprints3/cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
SSL - load the repository-specific SSL configuration from inside an SSL VirtualHost:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/httpd/conf.d/ssl.conf&lt;br /&gt;
 ...&lt;br /&gt;
 &amp;lt;VirtualHost _default:443&amp;gt;&lt;br /&gt;
 	...&lt;br /&gt;
 	Include /opt/eprints3/archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-secure.conf&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Apache Configuration in 3.1==&lt;br /&gt;
&lt;br /&gt;
From 3.2 onwards things were simplified - there are fewer configuration files in a single location. The configuration files are shorter as much of the processing was moved into the EPrints::Apache::Rewrite module.&lt;br /&gt;
&lt;br /&gt;
 cfg/&lt;br /&gt;
 ├── apache.conf&lt;br /&gt;
 ├── apache&lt;br /&gt;
 │   └── &amp;lt;ARCHIVEID&amp;gt;.conf&lt;br /&gt;
 ├── apache_ssl.conf&lt;br /&gt;
 └── apache_ssl&lt;br /&gt;
     └── &amp;lt;ARCHIVEID&amp;gt;.conf&lt;br /&gt;
&lt;br /&gt;
'''Note apache_ssl* files will only be present if using SSL.&lt;br /&gt;
&lt;br /&gt;
===File Overview===&lt;br /&gt;
&lt;br /&gt;
'''cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
* Global configuration&lt;br /&gt;
* Loads HTTP configuration for each repository: cfg/apache/*.conf&lt;br /&gt;
&lt;br /&gt;
'''cfg/apache/&amp;lt;ARCHIVEID&amp;gt;.conf&lt;br /&gt;
&lt;br /&gt;
* VirtualHost for repository&lt;br /&gt;
* Loads archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apachevhost.conf if present&lt;br /&gt;
&lt;br /&gt;
'''cfg/apache_ssl.conf&lt;br /&gt;
&lt;br /&gt;
* Global SSL configuration&lt;br /&gt;
* Loads SSL configuration for each repository: cfg/apache_ssl/*.conf&lt;br /&gt;
&lt;br /&gt;
'''cfg/apache_ssl/&amp;lt;ARCHIVEID&amp;gt;.conf&lt;br /&gt;
&lt;br /&gt;
* Repository-specific SSL configuration (note no VirtualHost)&lt;br /&gt;
&lt;br /&gt;
==Loading into Apache==&lt;br /&gt;
&lt;br /&gt;
'''Example 1 - Debian/Ubuntu&lt;br /&gt;
&lt;br /&gt;
HTTP - create a new &amp;quot;site&amp;quot; which loads the top level EPrints apache configuration file:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/apache2/sites-available/eprints3&lt;br /&gt;
 Include /opt/eprints3/cfg/apache.conf&lt;br /&gt;
 $ a2ensite eprints3&lt;br /&gt;
&lt;br /&gt;
SSL - load the top level EPrints apache configuration file from inside an SSL VirtualHost:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/apache2/sites-available/default-ssl&lt;br /&gt;
 &amp;lt;IfModule mod_ssl.c&amp;gt;&lt;br /&gt;
 	&amp;lt;VirtualHost _default_:443&amp;gt;&lt;br /&gt;
 		...&lt;br /&gt;
 		Include /opt/eprints3/cfg/apache_ssl.conf&lt;br /&gt;
 	&amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
 $ a2ensite default-ssl&lt;br /&gt;
&lt;br /&gt;
'''Example 2 - RedHat/CentOS&lt;br /&gt;
&lt;br /&gt;
HTTP - load top level EPrints apache configuration file:&lt;br /&gt;
&lt;br /&gt;
 $ tail /etc/httpd/conf/httpd.conf&lt;br /&gt;
 ...&lt;br /&gt;
 Include /opt/eprints3/cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
SSL - load the repository-specific SSL configuration from inside an SSL VirtualHost:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/httpd/conf.d/ssl.conf&lt;br /&gt;
 ...&lt;br /&gt;
 &amp;lt;VirtualHost _default:443&amp;gt;&lt;br /&gt;
 	...&lt;br /&gt;
 	Include /opt/eprints3/cfg/apache_ssl.conf&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Migrating apache configuration from 3.1 to 3.2+==&lt;br /&gt;
&lt;br /&gt;
This won't happen automatically when you upgrade from 3.1 to 3.2+ so follow the steps below to migrate the apache configuration after upgrading:&lt;br /&gt;
&lt;br /&gt;
# Back up the 3.1 apache configuration files&lt;br /&gt;
# Check for any custom directives added to 3.1 apache config files, in particular cfg/apache.conf, archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apache.conf and archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apachevhost.conf&lt;br /&gt;
# Run &amp;lt;tt&amp;gt;bin/generate_apacheconf --system --replace&amp;lt;/tt&amp;gt; - this will generate the new apache configuration files as above&lt;br /&gt;
# If using SSL change the top level apache SSL configuration file to load /opt/eprints3/cfg/apache_ssl.conf instead of /opt/eprints3/archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-secure.conf&lt;br /&gt;
# Merge custom directives back in as appropriate (noting that custom directives may be lost if generate_apacheconf is run with the --system or --replace option)&lt;br /&gt;
# Restart apache&lt;br /&gt;
# After successful testing, the following 3.1 configuration files can be removed:&lt;br /&gt;
## var/auto-apache.conf&lt;br /&gt;
## var/auto-apache-includes.conf&lt;br /&gt;
## archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apache.conf&lt;br /&gt;
## archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-apache.conf&lt;br /&gt;
## archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-secure.conf&lt;/div&gt;</summary>
		<author><name>Tmb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=ApacheConfigMigration&amp;diff=10798</id>
		<title>ApacheConfigMigration</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=ApacheConfigMigration&amp;diff=10798"/>
		<updated>2013-07-18T08:34:38Z</updated>

		<summary type="html">&lt;p&gt;Tmb: /* Migrating apache configuration from 3.1 to 3.2+ */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Apache Configuration=&lt;br /&gt;
&lt;br /&gt;
The EPrints apache configuration is distributed across a number of files. This layout changed between EPrints version 3.1 and 3.2 - this page explains the differences and advises how to migrate to the new layout after upgrading from 3.1 to 3.2+.&lt;br /&gt;
&lt;br /&gt;
==Apache Configuration in 3.1==&lt;br /&gt;
&lt;br /&gt;
 cfg/&lt;br /&gt;
 └── apache.conf&lt;br /&gt;
 var/&lt;br /&gt;
 ├── auto-apache.conf&lt;br /&gt;
 └── auto-apache-includes.conf&lt;br /&gt;
 archives/&lt;br /&gt;
 └── &amp;lt;ARCHIVEID&amp;gt;&lt;br /&gt;
     ├── cfg&lt;br /&gt;
     │   ├── apache.conf&lt;br /&gt;
     │   └── apachevhost.conf&lt;br /&gt;
     └── var&lt;br /&gt;
         ├── auto-apache.conf&lt;br /&gt;
         ├── auto-secure.conf&lt;br /&gt;
         └── entities.dtd&lt;br /&gt;
&lt;br /&gt;
''Note auto-secure.conf will only be present if using SSL&lt;br /&gt;
&lt;br /&gt;
===File Overview===&lt;br /&gt;
&lt;br /&gt;
'''cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
* Loads files from var/&lt;br /&gt;
&lt;br /&gt;
'''var/auto-apache-includes.conf&lt;br /&gt;
&lt;br /&gt;
* Loads HTTP configuration for each repository: archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
'''var/auto-apache.conf&lt;br /&gt;
&lt;br /&gt;
* Global HTTP configuration&lt;br /&gt;
&lt;br /&gt;
'''archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
* Loads archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-apache.conf&lt;br /&gt;
&lt;br /&gt;
'''archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-apache.conf&lt;br /&gt;
&lt;br /&gt;
* VirtualHost for repository&lt;br /&gt;
* Loads archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apachevhost.conf&lt;br /&gt;
&lt;br /&gt;
'''archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apachevhost.conf&lt;br /&gt;
&lt;br /&gt;
* Empty - add custom directives here&lt;br /&gt;
&lt;br /&gt;
'''archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-secure.conf&lt;br /&gt;
&lt;br /&gt;
* Repository-specific SSL configuration (note no VirtualHost)&lt;br /&gt;
&lt;br /&gt;
==Loading into Apache==&lt;br /&gt;
&lt;br /&gt;
'''Example 1 - Debian/Ubuntu&lt;br /&gt;
&lt;br /&gt;
HTTP - create a new &amp;quot;site&amp;quot; which loads the top level EPrints apache configuration file:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/apache2/sites-available/eprints3&lt;br /&gt;
 Include /opt/eprints3/cfg/apache.conf&lt;br /&gt;
 $ a2ensite eprints3&lt;br /&gt;
&lt;br /&gt;
SSL - load the repository-specific EPrints apache configuration file from inside an SSL VirtualHost:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/apache2/sites-available/default-ssl&lt;br /&gt;
 &amp;lt;IfModule mod_ssl.c&amp;gt;&lt;br /&gt;
 	&amp;lt;VirtualHost _default_:443&amp;gt;&lt;br /&gt;
 		...&lt;br /&gt;
 		Include /opt/eprints3/archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-secure.conf&lt;br /&gt;
 	&amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
 $ a2ensite default-ssl&lt;br /&gt;
&lt;br /&gt;
'''Example 2 - RedHat/CentOS&lt;br /&gt;
&lt;br /&gt;
HTTP - load top level EPrints apache configuration file:&lt;br /&gt;
&lt;br /&gt;
 $ tail /etc/httpd/conf/httpd.conf&lt;br /&gt;
 ...&lt;br /&gt;
 Include /opt/eprints3/cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
SSL - load the repository-specific SSL configuration from inside an SSL VirtualHost:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/httpd/conf.d/ssl.conf&lt;br /&gt;
 ...&lt;br /&gt;
 &amp;lt;VirtualHost _default:443&amp;gt;&lt;br /&gt;
 	...&lt;br /&gt;
 	Include /opt/eprints3/archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-secure.conf&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Apache Configuration in 3.1==&lt;br /&gt;
&lt;br /&gt;
From 3.2 onwards things were simplified - there are fewer configuration files in a single location. The configuration files are shorter as much of the processing was moved into the EPrints::Apache::Rewrite module.&lt;br /&gt;
&lt;br /&gt;
 cfg/&lt;br /&gt;
 ├── apache.conf&lt;br /&gt;
 ├── apache&lt;br /&gt;
 │   └── &amp;lt;ARCHIVEID&amp;gt;.conf&lt;br /&gt;
 ├── apache_ssl.conf&lt;br /&gt;
 └── apache_ssl&lt;br /&gt;
     └── &amp;lt;ARCHIVEID&amp;gt;.conf&lt;br /&gt;
&lt;br /&gt;
'''Note apache_ssl* files will only be present if using SSL.&lt;br /&gt;
&lt;br /&gt;
===File Overview===&lt;br /&gt;
&lt;br /&gt;
'''cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
* Global configuration&lt;br /&gt;
* Loads HTTP configuration for each repository: cfg/apache/*.conf&lt;br /&gt;
&lt;br /&gt;
'''cfg/apache/&amp;lt;ARCHIVEID&amp;gt;.conf&lt;br /&gt;
&lt;br /&gt;
* VirtualHost for repository&lt;br /&gt;
* Loads archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apachevhost.conf if present&lt;br /&gt;
&lt;br /&gt;
'''cfg/apache_ssl.conf&lt;br /&gt;
&lt;br /&gt;
* Global SSL configuration&lt;br /&gt;
* Loads SSL configuration for each repository: cfg/apache_ssl/*.conf&lt;br /&gt;
&lt;br /&gt;
'''cfg/apache_ssl/&amp;lt;ARCHIVEID&amp;gt;.conf&lt;br /&gt;
&lt;br /&gt;
* Repository-specific SSL configuration (note no VirtualHost)&lt;br /&gt;
&lt;br /&gt;
==Loading into Apache==&lt;br /&gt;
&lt;br /&gt;
'''Example 1 - Debian/Ubuntu&lt;br /&gt;
&lt;br /&gt;
HTTP - create a new &amp;quot;site&amp;quot; which loads the top level EPrints apache configuration file:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/apache2/sites-available/eprints3&lt;br /&gt;
 Include /opt/eprints3/cfg/apache.conf&lt;br /&gt;
 $ a2ensite eprints3&lt;br /&gt;
&lt;br /&gt;
SSL - load the top level EPrints apache configuration file from inside an SSL VirtualHost:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/apache2/sites-available/default-ssl&lt;br /&gt;
 &amp;lt;IfModule mod_ssl.c&amp;gt;&lt;br /&gt;
 	&amp;lt;VirtualHost _default_:443&amp;gt;&lt;br /&gt;
 		...&lt;br /&gt;
 		Include /opt/eprints3/cfg/apache_ssl.conf&lt;br /&gt;
 	&amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
 $ a2ensite default-ssl&lt;br /&gt;
&lt;br /&gt;
'''Example 2 - RedHat/CentOS&lt;br /&gt;
&lt;br /&gt;
HTTP - load top level EPrints apache configuration file:&lt;br /&gt;
&lt;br /&gt;
 $ tail /etc/httpd/conf/httpd.conf&lt;br /&gt;
 ...&lt;br /&gt;
 Include /opt/eprints3/cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
SSL - load the repository-specific SSL configuration from inside an SSL VirtualHost:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/httpd/conf.d/ssl.conf&lt;br /&gt;
 ...&lt;br /&gt;
 &amp;lt;VirtualHost _default:443&amp;gt;&lt;br /&gt;
 	...&lt;br /&gt;
 	Include /opt/eprints3/cfg/apache_ssl.conf&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Migrating apache configuration from 3.1 to 3.2+==&lt;br /&gt;
&lt;br /&gt;
This won't happen automatically when you upgrade from 3.1 to 3.2+ so follow the steps below to migrate the apache configuration after upgrading:&lt;br /&gt;
&lt;br /&gt;
# Back up the 3.1 apache configuration files&lt;br /&gt;
# Check for any custom directives added to 3.1 apache config files, in particular cfg/apache.conf, archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apache.conf and archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apachevhost.conf&lt;br /&gt;
# Run &amp;lt;tt&amp;gt;bin/generate_apacheconf --system --replace&amp;lt;/tt&amp;gt; - this will generate the new apache configuration files as above&lt;br /&gt;
# If using SSL change the top level apache SSL configuration file to load /opt/eprints3/cfg/apache_ssl.conf instead of /opt/eprints3/archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-secure.conf&lt;br /&gt;
# Merge custom directives back in as appropriate (noting that custom directives may be lost if generate_apacheconf is run with the --system or --replace option)&lt;br /&gt;
# Restart apache&lt;br /&gt;
# After successful testing, the following 3.1 configuration files can be removed:&lt;br /&gt;
* var/auto-apache.conf&lt;br /&gt;
* var/auto-apache-includes.conf&lt;br /&gt;
* archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apache.conf&lt;br /&gt;
* archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-apache.conf&lt;br /&gt;
* archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-secure.conf&lt;/div&gt;</summary>
		<author><name>Tmb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=ApacheConfigMigration&amp;diff=10797</id>
		<title>ApacheConfigMigration</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=ApacheConfigMigration&amp;diff=10797"/>
		<updated>2013-07-18T08:34:26Z</updated>

		<summary type="html">&lt;p&gt;Tmb: /* Migrating apache configuration from 3.1 to 3.2+ */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Apache Configuration=&lt;br /&gt;
&lt;br /&gt;
The EPrints apache configuration is distributed across a number of files. This layout changed between EPrints version 3.1 and 3.2 - this page explains the differences and advises how to migrate to the new layout after upgrading from 3.1 to 3.2+.&lt;br /&gt;
&lt;br /&gt;
==Apache Configuration in 3.1==&lt;br /&gt;
&lt;br /&gt;
 cfg/&lt;br /&gt;
 └── apache.conf&lt;br /&gt;
 var/&lt;br /&gt;
 ├── auto-apache.conf&lt;br /&gt;
 └── auto-apache-includes.conf&lt;br /&gt;
 archives/&lt;br /&gt;
 └── &amp;lt;ARCHIVEID&amp;gt;&lt;br /&gt;
     ├── cfg&lt;br /&gt;
     │   ├── apache.conf&lt;br /&gt;
     │   └── apachevhost.conf&lt;br /&gt;
     └── var&lt;br /&gt;
         ├── auto-apache.conf&lt;br /&gt;
         ├── auto-secure.conf&lt;br /&gt;
         └── entities.dtd&lt;br /&gt;
&lt;br /&gt;
''Note auto-secure.conf will only be present if using SSL&lt;br /&gt;
&lt;br /&gt;
===File Overview===&lt;br /&gt;
&lt;br /&gt;
'''cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
* Loads files from var/&lt;br /&gt;
&lt;br /&gt;
'''var/auto-apache-includes.conf&lt;br /&gt;
&lt;br /&gt;
* Loads HTTP configuration for each repository: archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
'''var/auto-apache.conf&lt;br /&gt;
&lt;br /&gt;
* Global HTTP configuration&lt;br /&gt;
&lt;br /&gt;
'''archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
* Loads archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-apache.conf&lt;br /&gt;
&lt;br /&gt;
'''archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-apache.conf&lt;br /&gt;
&lt;br /&gt;
* VirtualHost for repository&lt;br /&gt;
* Loads archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apachevhost.conf&lt;br /&gt;
&lt;br /&gt;
'''archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apachevhost.conf&lt;br /&gt;
&lt;br /&gt;
* Empty - add custom directives here&lt;br /&gt;
&lt;br /&gt;
'''archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-secure.conf&lt;br /&gt;
&lt;br /&gt;
* Repository-specific SSL configuration (note no VirtualHost)&lt;br /&gt;
&lt;br /&gt;
==Loading into Apache==&lt;br /&gt;
&lt;br /&gt;
'''Example 1 - Debian/Ubuntu&lt;br /&gt;
&lt;br /&gt;
HTTP - create a new &amp;quot;site&amp;quot; which loads the top level EPrints apache configuration file:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/apache2/sites-available/eprints3&lt;br /&gt;
 Include /opt/eprints3/cfg/apache.conf&lt;br /&gt;
 $ a2ensite eprints3&lt;br /&gt;
&lt;br /&gt;
SSL - load the repository-specific EPrints apache configuration file from inside an SSL VirtualHost:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/apache2/sites-available/default-ssl&lt;br /&gt;
 &amp;lt;IfModule mod_ssl.c&amp;gt;&lt;br /&gt;
 	&amp;lt;VirtualHost _default_:443&amp;gt;&lt;br /&gt;
 		...&lt;br /&gt;
 		Include /opt/eprints3/archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-secure.conf&lt;br /&gt;
 	&amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
 $ a2ensite default-ssl&lt;br /&gt;
&lt;br /&gt;
'''Example 2 - RedHat/CentOS&lt;br /&gt;
&lt;br /&gt;
HTTP - load top level EPrints apache configuration file:&lt;br /&gt;
&lt;br /&gt;
 $ tail /etc/httpd/conf/httpd.conf&lt;br /&gt;
 ...&lt;br /&gt;
 Include /opt/eprints3/cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
SSL - load the repository-specific SSL configuration from inside an SSL VirtualHost:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/httpd/conf.d/ssl.conf&lt;br /&gt;
 ...&lt;br /&gt;
 &amp;lt;VirtualHost _default:443&amp;gt;&lt;br /&gt;
 	...&lt;br /&gt;
 	Include /opt/eprints3/archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-secure.conf&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Apache Configuration in 3.1==&lt;br /&gt;
&lt;br /&gt;
From 3.2 onwards things were simplified - there are fewer configuration files in a single location. The configuration files are shorter as much of the processing was moved into the EPrints::Apache::Rewrite module.&lt;br /&gt;
&lt;br /&gt;
 cfg/&lt;br /&gt;
 ├── apache.conf&lt;br /&gt;
 ├── apache&lt;br /&gt;
 │   └── &amp;lt;ARCHIVEID&amp;gt;.conf&lt;br /&gt;
 ├── apache_ssl.conf&lt;br /&gt;
 └── apache_ssl&lt;br /&gt;
     └── &amp;lt;ARCHIVEID&amp;gt;.conf&lt;br /&gt;
&lt;br /&gt;
'''Note apache_ssl* files will only be present if using SSL.&lt;br /&gt;
&lt;br /&gt;
===File Overview===&lt;br /&gt;
&lt;br /&gt;
'''cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
* Global configuration&lt;br /&gt;
* Loads HTTP configuration for each repository: cfg/apache/*.conf&lt;br /&gt;
&lt;br /&gt;
'''cfg/apache/&amp;lt;ARCHIVEID&amp;gt;.conf&lt;br /&gt;
&lt;br /&gt;
* VirtualHost for repository&lt;br /&gt;
* Loads archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apachevhost.conf if present&lt;br /&gt;
&lt;br /&gt;
'''cfg/apache_ssl.conf&lt;br /&gt;
&lt;br /&gt;
* Global SSL configuration&lt;br /&gt;
* Loads SSL configuration for each repository: cfg/apache_ssl/*.conf&lt;br /&gt;
&lt;br /&gt;
'''cfg/apache_ssl/&amp;lt;ARCHIVEID&amp;gt;.conf&lt;br /&gt;
&lt;br /&gt;
* Repository-specific SSL configuration (note no VirtualHost)&lt;br /&gt;
&lt;br /&gt;
==Loading into Apache==&lt;br /&gt;
&lt;br /&gt;
'''Example 1 - Debian/Ubuntu&lt;br /&gt;
&lt;br /&gt;
HTTP - create a new &amp;quot;site&amp;quot; which loads the top level EPrints apache configuration file:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/apache2/sites-available/eprints3&lt;br /&gt;
 Include /opt/eprints3/cfg/apache.conf&lt;br /&gt;
 $ a2ensite eprints3&lt;br /&gt;
&lt;br /&gt;
SSL - load the top level EPrints apache configuration file from inside an SSL VirtualHost:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/apache2/sites-available/default-ssl&lt;br /&gt;
 &amp;lt;IfModule mod_ssl.c&amp;gt;&lt;br /&gt;
 	&amp;lt;VirtualHost _default_:443&amp;gt;&lt;br /&gt;
 		...&lt;br /&gt;
 		Include /opt/eprints3/cfg/apache_ssl.conf&lt;br /&gt;
 	&amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
 $ a2ensite default-ssl&lt;br /&gt;
&lt;br /&gt;
'''Example 2 - RedHat/CentOS&lt;br /&gt;
&lt;br /&gt;
HTTP - load top level EPrints apache configuration file:&lt;br /&gt;
&lt;br /&gt;
 $ tail /etc/httpd/conf/httpd.conf&lt;br /&gt;
 ...&lt;br /&gt;
 Include /opt/eprints3/cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
SSL - load the repository-specific SSL configuration from inside an SSL VirtualHost:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/httpd/conf.d/ssl.conf&lt;br /&gt;
 ...&lt;br /&gt;
 &amp;lt;VirtualHost _default:443&amp;gt;&lt;br /&gt;
 	...&lt;br /&gt;
 	Include /opt/eprints3/cfg/apache_ssl.conf&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Migrating apache configuration from 3.1 to 3.2+==&lt;br /&gt;
&lt;br /&gt;
This won't happen automatically when you upgrade from 3.1 to 3.2+ so follow the steps below to migrate the apache configuration after upgrading:&lt;br /&gt;
&lt;br /&gt;
# Back up the 3.1 apache configuration files&lt;br /&gt;
# Check for any custom directives added to 3.1 apache config files, in particular cfg/apache.conf, archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apache.conf and archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apachevhost.conf&lt;br /&gt;
# Run &amp;lt;tt&amp;gt;bin/generate_apacheconf --system --replace&amp;lt;/tt&amp;gt; - this will generate the new apache configuration files as above&lt;br /&gt;
# If using SSL change the top level apache SSL configuration file to load /opt/eprints3/cfg/apache_ssl.conf instead of /opt/eprints3/archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-secure.conf&lt;br /&gt;
# Merge custom directives back in as appropriate (noting that custom directives may be lost if generate_apacheconf is run with the --system or --replace option)&lt;br /&gt;
# Restart apache&lt;br /&gt;
# After successful testing, the following 3.1 configuration files can be removed:&lt;br /&gt;
** var/auto-apache.conf&lt;br /&gt;
** var/auto-apache-includes.conf&lt;br /&gt;
** archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apache.conf&lt;br /&gt;
** archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-apache.conf&lt;br /&gt;
** archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-secure.conf&lt;/div&gt;</summary>
		<author><name>Tmb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=ApacheConfigMigration&amp;diff=10796</id>
		<title>ApacheConfigMigration</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=ApacheConfigMigration&amp;diff=10796"/>
		<updated>2013-07-18T08:34:04Z</updated>

		<summary type="html">&lt;p&gt;Tmb: Created page with '=Apache Configuration=  The EPrints apache configuration is distributed across a number of files. This layout changed between EPrints version 3.1 and 3.2 - this page explains the…'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Apache Configuration=&lt;br /&gt;
&lt;br /&gt;
The EPrints apache configuration is distributed across a number of files. This layout changed between EPrints version 3.1 and 3.2 - this page explains the differences and advises how to migrate to the new layout after upgrading from 3.1 to 3.2+.&lt;br /&gt;
&lt;br /&gt;
==Apache Configuration in 3.1==&lt;br /&gt;
&lt;br /&gt;
 cfg/&lt;br /&gt;
 └── apache.conf&lt;br /&gt;
 var/&lt;br /&gt;
 ├── auto-apache.conf&lt;br /&gt;
 └── auto-apache-includes.conf&lt;br /&gt;
 archives/&lt;br /&gt;
 └── &amp;lt;ARCHIVEID&amp;gt;&lt;br /&gt;
     ├── cfg&lt;br /&gt;
     │   ├── apache.conf&lt;br /&gt;
     │   └── apachevhost.conf&lt;br /&gt;
     └── var&lt;br /&gt;
         ├── auto-apache.conf&lt;br /&gt;
         ├── auto-secure.conf&lt;br /&gt;
         └── entities.dtd&lt;br /&gt;
&lt;br /&gt;
''Note auto-secure.conf will only be present if using SSL&lt;br /&gt;
&lt;br /&gt;
===File Overview===&lt;br /&gt;
&lt;br /&gt;
'''cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
* Loads files from var/&lt;br /&gt;
&lt;br /&gt;
'''var/auto-apache-includes.conf&lt;br /&gt;
&lt;br /&gt;
* Loads HTTP configuration for each repository: archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
'''var/auto-apache.conf&lt;br /&gt;
&lt;br /&gt;
* Global HTTP configuration&lt;br /&gt;
&lt;br /&gt;
'''archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
* Loads archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-apache.conf&lt;br /&gt;
&lt;br /&gt;
'''archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-apache.conf&lt;br /&gt;
&lt;br /&gt;
* VirtualHost for repository&lt;br /&gt;
* Loads archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apachevhost.conf&lt;br /&gt;
&lt;br /&gt;
'''archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apachevhost.conf&lt;br /&gt;
&lt;br /&gt;
* Empty - add custom directives here&lt;br /&gt;
&lt;br /&gt;
'''archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-secure.conf&lt;br /&gt;
&lt;br /&gt;
* Repository-specific SSL configuration (note no VirtualHost)&lt;br /&gt;
&lt;br /&gt;
==Loading into Apache==&lt;br /&gt;
&lt;br /&gt;
'''Example 1 - Debian/Ubuntu&lt;br /&gt;
&lt;br /&gt;
HTTP - create a new &amp;quot;site&amp;quot; which loads the top level EPrints apache configuration file:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/apache2/sites-available/eprints3&lt;br /&gt;
 Include /opt/eprints3/cfg/apache.conf&lt;br /&gt;
 $ a2ensite eprints3&lt;br /&gt;
&lt;br /&gt;
SSL - load the repository-specific EPrints apache configuration file from inside an SSL VirtualHost:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/apache2/sites-available/default-ssl&lt;br /&gt;
 &amp;lt;IfModule mod_ssl.c&amp;gt;&lt;br /&gt;
 	&amp;lt;VirtualHost _default_:443&amp;gt;&lt;br /&gt;
 		...&lt;br /&gt;
 		Include /opt/eprints3/archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-secure.conf&lt;br /&gt;
 	&amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
 $ a2ensite default-ssl&lt;br /&gt;
&lt;br /&gt;
'''Example 2 - RedHat/CentOS&lt;br /&gt;
&lt;br /&gt;
HTTP - load top level EPrints apache configuration file:&lt;br /&gt;
&lt;br /&gt;
 $ tail /etc/httpd/conf/httpd.conf&lt;br /&gt;
 ...&lt;br /&gt;
 Include /opt/eprints3/cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
SSL - load the repository-specific SSL configuration from inside an SSL VirtualHost:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/httpd/conf.d/ssl.conf&lt;br /&gt;
 ...&lt;br /&gt;
 &amp;lt;VirtualHost _default:443&amp;gt;&lt;br /&gt;
 	...&lt;br /&gt;
 	Include /opt/eprints3/archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-secure.conf&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Apache Configuration in 3.1==&lt;br /&gt;
&lt;br /&gt;
From 3.2 onwards things were simplified - there are fewer configuration files in a single location. The configuration files are shorter as much of the processing was moved into the EPrints::Apache::Rewrite module.&lt;br /&gt;
&lt;br /&gt;
 cfg/&lt;br /&gt;
 ├── apache.conf&lt;br /&gt;
 ├── apache&lt;br /&gt;
 │   └── &amp;lt;ARCHIVEID&amp;gt;.conf&lt;br /&gt;
 ├── apache_ssl.conf&lt;br /&gt;
 └── apache_ssl&lt;br /&gt;
     └── &amp;lt;ARCHIVEID&amp;gt;.conf&lt;br /&gt;
&lt;br /&gt;
'''Note apache_ssl* files will only be present if using SSL.&lt;br /&gt;
&lt;br /&gt;
===File Overview===&lt;br /&gt;
&lt;br /&gt;
'''cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
* Global configuration&lt;br /&gt;
* Loads HTTP configuration for each repository: cfg/apache/*.conf&lt;br /&gt;
&lt;br /&gt;
'''cfg/apache/&amp;lt;ARCHIVEID&amp;gt;.conf&lt;br /&gt;
&lt;br /&gt;
* VirtualHost for repository&lt;br /&gt;
* Loads archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apachevhost.conf if present&lt;br /&gt;
&lt;br /&gt;
'''cfg/apache_ssl.conf&lt;br /&gt;
&lt;br /&gt;
* Global SSL configuration&lt;br /&gt;
* Loads SSL configuration for each repository: cfg/apache_ssl/*.conf&lt;br /&gt;
&lt;br /&gt;
'''cfg/apache_ssl/&amp;lt;ARCHIVEID&amp;gt;.conf&lt;br /&gt;
&lt;br /&gt;
* Repository-specific SSL configuration (note no VirtualHost)&lt;br /&gt;
&lt;br /&gt;
==Loading into Apache==&lt;br /&gt;
&lt;br /&gt;
'''Example 1 - Debian/Ubuntu&lt;br /&gt;
&lt;br /&gt;
HTTP - create a new &amp;quot;site&amp;quot; which loads the top level EPrints apache configuration file:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/apache2/sites-available/eprints3&lt;br /&gt;
 Include /opt/eprints3/cfg/apache.conf&lt;br /&gt;
 $ a2ensite eprints3&lt;br /&gt;
&lt;br /&gt;
SSL - load the top level EPrints apache configuration file from inside an SSL VirtualHost:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/apache2/sites-available/default-ssl&lt;br /&gt;
 &amp;lt;IfModule mod_ssl.c&amp;gt;&lt;br /&gt;
 	&amp;lt;VirtualHost _default_:443&amp;gt;&lt;br /&gt;
 		...&lt;br /&gt;
 		Include /opt/eprints3/cfg/apache_ssl.conf&lt;br /&gt;
 	&amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
 $ a2ensite default-ssl&lt;br /&gt;
&lt;br /&gt;
'''Example 2 - RedHat/CentOS&lt;br /&gt;
&lt;br /&gt;
HTTP - load top level EPrints apache configuration file:&lt;br /&gt;
&lt;br /&gt;
 $ tail /etc/httpd/conf/httpd.conf&lt;br /&gt;
 ...&lt;br /&gt;
 Include /opt/eprints3/cfg/apache.conf&lt;br /&gt;
&lt;br /&gt;
SSL - load the repository-specific SSL configuration from inside an SSL VirtualHost:&lt;br /&gt;
&lt;br /&gt;
 $ cat /etc/httpd/conf.d/ssl.conf&lt;br /&gt;
 ...&lt;br /&gt;
 &amp;lt;VirtualHost _default:443&amp;gt;&lt;br /&gt;
 	...&lt;br /&gt;
 	Include /opt/eprints3/cfg/apache_ssl.conf&lt;br /&gt;
 &amp;lt;/VirtualHost&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Migrating apache configuration from 3.1 to 3.2+==&lt;br /&gt;
&lt;br /&gt;
This won't happen automatically when you upgrade from 3.1 to 3.2+ so follow the steps below to migrate the apache configuration after upgrading:&lt;br /&gt;
&lt;br /&gt;
# Back up the 3.1 apache configuration files&lt;br /&gt;
# Check for any custom directives added to 3.1 apache config files, in particular cfg/apache.conf, archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apache.conf and archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apachevhost.conf&lt;br /&gt;
# Run &amp;lt;tt&amp;gt;bin/generate_apacheconf --system --replace&amp;lt;/tt&amp;gt; - this will generate the new apache configuration files as above&lt;br /&gt;
# If using SSL change the top level apache SSL configuration file to load /opt/eprints3/cfg/apache_ssl.conf instead of /opt/eprints3/archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-secure.conf&lt;br /&gt;
# Merge custom directives back in as appropriate (noting that custom directives may be lost if generate_apacheconf is run with the --system or --replace option)&lt;br /&gt;
# Restart apache&lt;br /&gt;
# After successful testing, the following 3.1 configuration files can be removed:&lt;br /&gt;
## var/auto-apache.conf&lt;br /&gt;
## var/auto-apache-includes.conf&lt;br /&gt;
## archives/&amp;lt;ARCHIVEID&amp;gt;/cfg/apache.conf&lt;br /&gt;
## archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-apache.conf&lt;br /&gt;
## archives/&amp;lt;ARCHIVEID&amp;gt;/var/auto-secure.conf&lt;/div&gt;</summary>
		<author><name>Tmb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=API:EPrints/Plugin/Export/XSLT&amp;diff=10795</id>
		<title>API:EPrints/Plugin/Export/XSLT</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=API:EPrints/Plugin/Export/XSLT&amp;diff=10795"/>
		<updated>2013-07-17T10:20:39Z</updated>

		<summary type="html">&lt;p&gt;Tmb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;!-- Pod2Wiki=_preamble_ &lt;br /&gt;
This page has been automatically generated from the EPrints 3.2 source. Any wiki changes made between the 'Pod2Wiki=*' and 'Edit below this comment' comments will be lost.&lt;br /&gt;
 --&amp;gt;{{API}}{{Pod2Wiki}}{{API:Source|file=perl_lib/EPrints/Plugin/Export/XSLT.pm|package_name=EPrints::Plugin::Export::XSLT}}[[Category:API|XSLT]][[Category:API:EPrints/Plugin/Export|XSLT]][[Category:API:EPrints/Plugin/Export/XSLT|XSLT]]&amp;lt;div&amp;gt;&amp;lt;!-- Edit below this comment --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Pod2Wiki=_private_ --&amp;gt;&amp;lt;!-- Pod2Wiki=head_name --&amp;gt;&lt;br /&gt;
==NAME==&lt;br /&gt;
EPrints::Plugin::Export::XSLT - XSLT-based exports&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Edit below this comment --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Pod2Wiki= --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Pod2Wiki=head_synopsis --&amp;gt;&lt;br /&gt;
==SYNOPSIS==&lt;br /&gt;
Create a file in &amp;lt;code&amp;gt;Plugins/Export/XSLT/&amp;lt;/code&amp;gt; called 'Title.xsl' containing:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;perl&amp;quot;&amp;gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot;?&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;xsl:stylesheet&lt;br /&gt;
	version=&amp;quot;1.0&amp;quot;&lt;br /&gt;
	xmlns:xsl=&amp;quot;http://www.w3.org/1999/XSL/Transform&amp;quot;&lt;br /&gt;
	ept:name=&amp;quot;Titles&amp;quot;&lt;br /&gt;
	ept:visible=&amp;quot;all&amp;quot;&lt;br /&gt;
	ept:advertise=&amp;quot;1&amp;quot;&lt;br /&gt;
	ept:accept=&amp;quot;list/eprint dataobj/eprint&amp;quot;&lt;br /&gt;
	ept:mimetype=&amp;quot;application/xml; charset=utf-8&amp;quot;&lt;br /&gt;
	ept:qs=&amp;quot;0.1&amp;quot;&lt;br /&gt;
	xmlns:ept=&amp;quot;http://eprints.org/ep2/xslt/1.0&amp;quot;&lt;br /&gt;
	xmlns:ep=&amp;quot;http://eprints.org/ep2/data/2.0&amp;quot;&lt;br /&gt;
	exclude-result-prefixes=&amp;quot;ept ep&amp;quot;&lt;br /&gt;
&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;xsl:param name=&amp;quot;results&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;xsl:template match=&amp;quot;text()&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;xsl:template match=&amp;quot;/ept:template&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;titles&amp;gt;&amp;lt;xsl:value-of select=&amp;quot;$results&amp;quot;/&amp;gt;&amp;lt;/titles&amp;gt;&lt;br /&gt;
&amp;lt;/xsl:template&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;xsl:template match=&amp;quot;/ep:eprints/ep:eprint&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;title&amp;gt;&amp;lt;xsl:value-of select=&amp;quot;ep:title&amp;quot;/&amp;gt;&amp;lt;/title&amp;gt;&lt;br /&gt;
&amp;lt;/xsl:template&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/xsl:stylesheet&amp;gt;&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Edit below this comment --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Pod2Wiki= --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Pod2Wiki=head_description --&amp;gt;&lt;br /&gt;
==DESCRIPTION==&lt;br /&gt;
This export plugin allows you to use XSL Transforms to export data from EPrints. The plugin is fed EPrints XML and can output any resulting data supported by XSLT.&lt;br /&gt;
&lt;br /&gt;
This is the inverse process of [[API:EPrints/Plugin/Import/XSLT|EPrints::Plugin::Import::XSLT]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Edit below this comment --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Pod2Wiki= --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Pod2Wiki=head_headers_and_footers --&amp;gt;&lt;br /&gt;
===Headers and Footers===&lt;br /&gt;
You can specify a template to use for your output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;  &amp;amp;lt;xsl:template match=&amp;quot;ept:template&amp;quot;&amp;amp;gt;&lt;br /&gt;
    &amp;amp;lt;html&amp;amp;gt;&lt;br /&gt;
      &amp;amp;lt;body&amp;amp;gt;&lt;br /&gt;
        &amp;amp;lt;xsl:value-of select=&amp;quot;$results&amp;quot;/&amp;amp;gt;&lt;br /&gt;
      &amp;amp;lt;/body&amp;amp;gt;&lt;br /&gt;
    &amp;amp;lt;/html&amp;amp;gt;&lt;br /&gt;
  &amp;amp;lt;/xsl:template&amp;amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: you can output unbalanced XML by using disable-output-escaping:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;  &amp;amp;lt;xsl:template match=&amp;quot;ept:template&amp;quot;&amp;amp;gt;&lt;br /&gt;
    &amp;amp;lt;xsl:text disable-output-escaping=&amp;quot;yes&amp;quot;&amp;amp;gt;&lt;br /&gt;
      &amp;amp;amp;lt;html&amp;amp;amp;gt;&lt;br /&gt;
        &amp;amp;amp;lt;body&amp;amp;amp;gt;&lt;br /&gt;
    &amp;amp;lt;/xsl:text&amp;amp;gt;&lt;br /&gt;
    &amp;amp;lt;xsl:value-of select=&amp;quot;$results&amp;quot;/&amp;amp;gt;&lt;br /&gt;
  &amp;amp;lt;/xsl:template&amp;amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Edit below this comment --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Pod2Wiki= --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Pod2Wiki=head_controlling_xml_declarations --&amp;gt;&lt;br /&gt;
===Controlling XML Declarations===&lt;br /&gt;
If your stylesheet outputs XML (the default):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;  &amp;amp;lt;xsl:output method=&amp;quot;xml&amp;quot;/&amp;amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The XML declaration will only be outputted once at the start of the export, regardless of how many records there are.&lt;br /&gt;
&lt;br /&gt;
To output as XML and suppress the XML declaration entirely define an empty prefix:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;  &amp;amp;lt;xsl:stylesheet&lt;br /&gt;
    xmlns:ept=&amp;quot;http://eprints.org/ep2/xslt/1.0&amp;quot;&lt;br /&gt;
    ept:prefix=&amp;quot;&amp;quot;&lt;br /&gt;
  &amp;amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Edit below this comment --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Pod2Wiki= --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Pod2Wiki=head_plugin_options --&amp;gt;&lt;br /&gt;
==PLUGIN OPTIONS==&lt;br /&gt;
All attributes on &amp;amp;lt;xsl:stylesheet&amp;amp;gt; that are in the EPT namespace are treated as plugin parameters. In addition to those parameters used by all [[API:EPrints/Plugin/Export|EPrints::Plugin::Export]] plugins XSLT uses:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;  prefix&lt;br /&gt;
    Value is printed before any content (defaults to XML decl.)&lt;br /&gt;
  postfix&lt;br /&gt;
    Value is printed after any content.&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Edit below this comment --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Pod2Wiki= --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Pod2Wiki=head_stylesheet_parameters --&amp;gt;&lt;br /&gt;
==STYLESHEET PARAMETERS==&lt;br /&gt;
The following parameters are passed to the transform for each item:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;  total&lt;br /&gt;
    Total items in result set.&lt;br /&gt;
  position&lt;br /&gt;
    1-indexed position in result set.&lt;br /&gt;
  dataset&lt;br /&gt;
    Base id of the item's dataset (e.g. &amp;quot;eprint&amp;quot;).&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Edit below this comment --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Pod2Wiki= --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Pod2Wiki=head_extended_functions --&amp;gt;&lt;br /&gt;
==EXTENDED FUNCTIONS==&lt;br /&gt;
The standard EPrints global extended XPath functions are supported, see [[API:EPrints/XSLT|EPrints::XSLT]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Edit below this comment --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Pod2Wiki= --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Pod2Wiki=head_see_also --&amp;gt;&lt;br /&gt;
==SEE ALSO==&lt;br /&gt;
[[API:EPrints/Plugin/Export|EPrints::Plugin::Export]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Edit below this comment --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Pod2Wiki= --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Pod2Wiki=head_copyright --&amp;gt;&lt;br /&gt;
==COPYRIGHT==&lt;br /&gt;
Copyright 2000-2011 University of Southampton.&lt;br /&gt;
&lt;br /&gt;
This file is part of EPrints http://www.eprints.org/.&lt;br /&gt;
&lt;br /&gt;
EPrints is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.&lt;br /&gt;
&lt;br /&gt;
EPrints 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.&lt;br /&gt;
&lt;br /&gt;
You should have received a copy of the GNU Lesser General Public License along with EPrints.  If not, see http://www.gnu.org/licenses/.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Edit below this comment --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Pod2Wiki= --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Pod2Wiki=_postamble_ --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Edit below this comment --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Tmb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=New_Features_in_EPrints_3.2&amp;diff=10582</id>
		<title>New Features in EPrints 3.2</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=New_Features_in_EPrints_3.2&amp;diff=10582"/>
		<updated>2012-07-26T16:15:56Z</updated>

		<summary type="html">&lt;p&gt;Tmb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Releases]]&lt;br /&gt;
{{releasenotes}}&lt;br /&gt;
&lt;br /&gt;
==NOTE==&lt;br /&gt;
* We now recommend LibXML in preference to GDOME. It's less buggy, and easier to install.&lt;br /&gt;
* Upgrade may take several hours as it cleans up the unicode issues in the database.&lt;br /&gt;
&lt;br /&gt;
==Database==&lt;br /&gt;
* In addition to MySQL, EPrints 3.2 now supports Oracle and Postgres&lt;br /&gt;
&lt;br /&gt;
==API==&lt;br /&gt;
* This release features a formal API. Not all functionality is yet available via the API, but will be added slowly and carefully in future releases.&lt;br /&gt;
* The bugbear of EPrints internals, EPrints::Session has been merged into EPrints::Repository. All old code will still work.&lt;br /&gt;
&lt;br /&gt;
==Documents==&lt;br /&gt;
* Thumbnails are now documents in their own right&lt;br /&gt;
* Built in document-format icons, as well as those you configure yourself&lt;br /&gt;
* Thumbnailing now happens in the background as part of the indexer process&lt;br /&gt;
&lt;br /&gt;
==Deposit Interface==&lt;br /&gt;
* Edit Locking locks records reduces risk of 2 people editing a record at the same time.&lt;br /&gt;
* Option to extract metadata and images from OpenXML files (.docx and .pptx)&lt;br /&gt;
* Offers options to users and editors on the deposit screen if there are problems&lt;br /&gt;
* Document upload screen has been redesgined to be clearer.&lt;br /&gt;
* Split document uploading into adding a new document and editing existing documents&lt;br /&gt;
* The documents inside an EPrint may now be re-ordered&lt;br /&gt;
* Progress bar on file upload&lt;br /&gt;
* Document upload methods (file, url, zip etc.) are now plugin-based and can be extended&lt;br /&gt;
* When attempting to deposit an eprint with problems show Save button&lt;br /&gt;
* Made it an option to provide action buttons top and bottom in workflow&lt;br /&gt;
* Added support for &amp;quot;input_boxes&amp;quot; property to the workflow, so you can now specify the number of input boxes to show for multiple fields&lt;br /&gt;
* epc: no longer crashes eprints on bad scripts, just reports an error&lt;br /&gt;
&lt;br /&gt;
==Search &amp;amp; Indexing==&lt;br /&gt;
* The search library has been entirely re-written to reduce use of cache tables and to improve performance. Simple searches are now over ten times faster.&lt;br /&gt;
* The indexer now uses plugins, so you can schedule other tasks, like thumbnail conversion, to be done in the background.&lt;br /&gt;
* Added config option &amp;quot;cache_max&amp;quot; to limit the cachemap tables used&lt;br /&gt;
* Added --clear option to cleanup old/broken indexer jobs&lt;br /&gt;
&lt;br /&gt;
==Unicode==&lt;br /&gt;
* EPrints use of unicode has been significantly improved.&lt;br /&gt;
&lt;br /&gt;
==REST==&lt;br /&gt;
* A &amp;quot;REST&amp;quot; style interface to objects, via /rest/eprint/23/title.txt, for example. This can also support &amp;quot;PUT&amp;quot; to alter fields!&lt;br /&gt;
&lt;br /&gt;
==SWORD2==&lt;br /&gt;
* SWORD2 (1.3 Specification) is supported.&lt;br /&gt;
&lt;br /&gt;
==Linked Data Support==&lt;br /&gt;
* Ability to establish arbitrary relations between objects or provide additional metadata in triple form.&lt;br /&gt;
&lt;br /&gt;
==Collections Support==&lt;br /&gt;
* Collections can be built via use of linked data, object ids and relationships. &lt;br /&gt;
&lt;br /&gt;
== Semantic Web / Linked Data (RDF) ==&lt;br /&gt;
&lt;br /&gt;
We have made a (difficult) decision to move these features to 3.2.1 (due out soon after 3.2.0) because testing showed it caused a significant slow down.&lt;br /&gt;
&lt;br /&gt;
We're rewriting it to do the same thing but with much less overhead!&lt;br /&gt;
&lt;br /&gt;
==Storage Layer==&lt;br /&gt;
* Now uses plugins to store files&lt;br /&gt;
** Local Filesystem&lt;br /&gt;
** Amazon S3&lt;br /&gt;
** Sun Cloud Storage&lt;br /&gt;
&lt;br /&gt;
==Speed==&lt;br /&gt;
* Search &amp;amp; Indexing much faster&lt;br /&gt;
* Import is faster&lt;br /&gt;
* Other parts of the code have been audited for speed, and optimised.&lt;br /&gt;
&lt;br /&gt;
==Import==&lt;br /&gt;
* Modified Import UI to allow a per-plugin/single/bulk workflow&lt;br /&gt;
&lt;br /&gt;
==EPC &amp;amp; EPrints Script==&lt;br /&gt;
* New EPC tag: epc:debug, which is like print but sends the XML to STDERR for debugging purposes.&lt;br /&gt;
* New EPC tag: epc:set which defines a variable inside it's scope.&lt;br /&gt;
* Improvements to the epc:foreach processing (better handling of multiple object types in lists)&lt;br /&gt;
* Added &amp;quot;limit&amp;quot; option to epc:foreach to limit the number&lt;br /&gt;
* Inside &amp;lt;epc:foreach&amp;gt; blocks an $index variable is set, allowing you to test which interation it's on.&lt;br /&gt;
* New EPScript methods: citation_link, dataset, related_objects, url, doc_size, is_public, thumbnail_url, preview_link, icon, human_filesize, control_url, contact_email, property, substr, filter_compound_list, to_data_array, pretty_list, array_concat, action_list, action_button, action_title, action_description, action_icon&lt;br /&gt;
* New Script methods: &lt;br /&gt;
** $data.property($key) which takes a string and returns a property from a hash or dataobj.&lt;br /&gt;
** $eprint.documents() which returns all the &amp;quot;real&amp;quot; (non-volatile) documents.&lt;br /&gt;
* New Script inline math functions: + - / * %&lt;br /&gt;
* New EPrints Script datatype: DATA_ARRAY: Represents a list of tuples of [$value, $epscript_type]&lt;br /&gt;
&lt;br /&gt;
==OAI==&lt;br /&gt;
* Stateless OAI Interface means no timing-out&lt;br /&gt;
* Support for multiple constraints in custom OAI sets&lt;br /&gt;
&lt;br /&gt;
==Unit Tests==&lt;br /&gt;
* We have introduced unit-tests to improve both the short and long term quality of our code.&lt;br /&gt;
==Metadata Types==&lt;br /&gt;
* Counter (incrementing value)&lt;br /&gt;
* Timestamp (defaults to the current time)&lt;br /&gt;
* UUID&lt;br /&gt;
* MetaField::Search now has two properties:&lt;br /&gt;
** &amp;quot;namedfields&amp;quot; which is an array ref of field names to search OR&lt;br /&gt;
** &amp;quot;namedfields_config&amp;quot; which is the name of a config variable&lt;br /&gt;
* MetaField::Search can now be used in any workflow (not hard-coded to editpermfields)&lt;br /&gt;
* A captcha pseudo-field based on http://recaptcha.net/&lt;br /&gt;
* added &amp;quot;repeat_secret&amp;quot; property to secret fields that will render a confirmation box which is checked with validate()&lt;br /&gt;
* Storable (store arbitrary Perl structures - internal use)&lt;br /&gt;
&lt;br /&gt;
==Administration Interface==&lt;br /&gt;
* Converted Admin screen into several tabs.&lt;br /&gt;
* Improved the BatchEdit interface&lt;br /&gt;
* Show a progress bar while records are updated during batch edit&lt;br /&gt;
&lt;br /&gt;
==Editorial Interface==&lt;br /&gt;
* Improved &amp;quot;Review&amp;quot; Screen&lt;br /&gt;
* The &amp;quot;Review buffer&amp;quot; can now be filtered for better management of large review buffers.&lt;br /&gt;
* When an editor provide the &amp;quot;Move to Review&amp;quot; button if there are problems&lt;br /&gt;
&lt;br /&gt;
==User Defined Datasets==&lt;br /&gt;
* Allows 3rd party tools to create their own additional datasets&lt;br /&gt;
* Suite of interface screens to work with these new datasets&lt;br /&gt;
&lt;br /&gt;
==Command Line Tools==&lt;br /&gt;
* Allow eprint ids to be specified for redo_thumbnails&lt;br /&gt;
&lt;br /&gt;
==Export ==&lt;br /&gt;
* Added support for OAI-ORE&lt;br /&gt;
* Added support for JSONP&lt;br /&gt;
* Added support for an 'n' argument to search exports&lt;br /&gt;
* Added arguments support to export plugins. Passed by CGI arguments on abstract search or by the --arg option in bin/export&lt;br /&gt;
&lt;br /&gt;
==Abstract Page==&lt;br /&gt;
* Now generated with a citation&lt;br /&gt;
* Shows an &amp;quot;action list&amp;quot;, so plugins can register to appear on this page&lt;br /&gt;
&lt;br /&gt;
==Phrases==&lt;br /&gt;
* Primary method of editing phrases is now the web interface&lt;br /&gt;
* Added &amp;quot;ref&amp;quot; option to phrases, which will cause the referenced phrase to be used instead - Equivalent to calling the referenced phrase directly&lt;br /&gt;
&lt;br /&gt;
==Views==&lt;br /&gt;
* Entire rendering of item lists and menus can be over-ridden by a function&lt;br /&gt;
&lt;br /&gt;
==Misc. Changes ==&lt;br /&gt;
* Can now disable a repository through a system configuration setting&lt;br /&gt;
* Refactoured DataObj::get_defaults so that you can now specify default values through a &amp;quot;default_value&amp;quot; property&lt;br /&gt;
* Most of get_defaults() can now be specified through the metafield spec.&lt;br /&gt;
* Can now apply multiple changes to the same field (???? I assume this means metafield?)&lt;br /&gt;
* Preference field for users (to store k/v pairs in)&lt;br /&gt;
* Simplified Apache configuration: generate_apacheconf will no longer overwrite existing files&lt;br /&gt;
&lt;br /&gt;
==Key Bugfixes==&lt;br /&gt;
* Fixed login/logout pages not using phrases&lt;br /&gt;
* Fixed spurious history objects being created on document upload&lt;br /&gt;
* Fixed an HTML insertion bug in the &amp;lt;title&amp;gt; element [Brian D. Gregg]&lt;br /&gt;
* Fixed schema errors in uketd_dc and METS/MODS export plugins&lt;br /&gt;
* Fixed bug in Compound creation of Set types that squashed the set options&lt;br /&gt;
* Fixed order static directories are searched to: repository-&amp;gt;theme-&amp;gt;system&lt;br /&gt;
* Support long values in browse views by using the MD5 of the value,&lt;br /&gt;
* Subject inputform component can now be used with singular values&lt;br /&gt;
* Fixed bug that is_advertised property on export plugins was being ignored.&lt;br /&gt;
* Fixed bug in indexer which meant it didn't index in a round-robin fashion.&lt;br /&gt;
* Fixed export not respecting metadata visibility&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Changes to repository configuration =&lt;br /&gt;
We've made some changes to the configuration of a new repository. These will not be automatically applied to your current repositories when upgrading.&lt;br /&gt;
&lt;br /&gt;
== Suggested Changes ==&lt;br /&gt;
&lt;br /&gt;
If upgrading from 3.1 to 3.2, the following changes to your own configuration are suggested to gain the features described above.&lt;br /&gt;
&lt;br /&gt;
* cp lib/defaultcfg/cfg.d/rdf* archives/YOURID/cfg/cfg.d/&lt;br /&gt;
* run epadmin recommit&lt;br /&gt;
* edit cfg/lang/en/static/index.xpage and add the following to the &amp;lt;xpage:head&amp;gt; section. &lt;br /&gt;
 &amp;lt;xpage:head&amp;gt;&lt;br /&gt;
   &amp;lt;link rel=&amp;quot;alternate&amp;quot; type=&amp;quot;application/rss+xml&amp;quot; title=&amp;quot;Items in {phrase('archive_name')}&amp;quot; href=&amp;quot;{$config{http_cgiurl}}/latest_tool?output=RSS2&amp;quot;&amp;gt;&amp;lt;/link&amp;gt;&lt;br /&gt;
   &amp;lt;link rel=&amp;quot;alternate&amp;quot; type=&amp;quot;application/atom+xml&amp;quot; title=&amp;quot;Items in {phrase('archive_name')}&amp;quot; href=&amp;quot;{$config{http_cgiurl}}/latest_tool?output=Atom&amp;quot;&amp;gt;&amp;lt;/link&amp;gt;&lt;br /&gt;
   &amp;lt;link rel=&amp;quot;alternate&amp;quot; type=&amp;quot;application/rdf+xml&amp;quot; title=&amp;quot;Repository Summary RDF+XML&amp;quot; href=&amp;quot;{$config{http_cgiurl}}/repositoryinfo/RDFXML/devel.rdf&amp;quot;&amp;gt;&amp;lt;/link&amp;gt;&lt;br /&gt;
   &amp;lt;link rel=&amp;quot;alternate&amp;quot; type=&amp;quot;text/n3&amp;quot; title=&amp;quot;Repository Summary RDF+N3&amp;quot; href=&amp;quot;{$config{http_cgiurl}}/repositoryinfo/RDFN3/devel.n3&amp;quot;&amp;gt;&amp;lt;/link&amp;gt;&lt;br /&gt;
 &amp;lt;/xpage:head&amp;gt;&lt;br /&gt;
(you may already have the rss &amp;amp; atom bits)&lt;br /&gt;
&lt;br /&gt;
* This list has NOT been completed yet, we're working on it!&lt;br /&gt;
&lt;br /&gt;
==New and Altered Config options==&lt;br /&gt;
&lt;br /&gt;
These need documenting and noting which ones we recommend setting/altering when upgrading.&lt;br /&gt;
&lt;br /&gt;
* Set &amp;quot;hide_document_conversion&amp;quot; to hide the Convert link on the document workflow&lt;br /&gt;
* Broke up SystemSettings into logically named files&lt;br /&gt;
* Can now disable a repository through a system configuration setting&lt;br /&gt;
* Moved most of eprint_render.pl into a citation file: summary_page.xml&lt;br /&gt;
* Updated defaults views.pl to show current configuration style&lt;br /&gt;
* Improved document_upload.pl layout to make it easier to add/remove suffix to mimetype mappings.&lt;br /&gt;
* Added URI to EPrint Summary Page&lt;br /&gt;
* Added RDF+XML and N3+NT Document formats &lt;br /&gt;
* New metafield option: $defaults{render_max_search_values} = 5;&lt;br /&gt;
* Added &amp;quot;show_help&amp;quot; option to workflow component to disable collapsing Usage: show_help={always,toggle,never}&lt;br /&gt;
* Added config option &amp;quot;cache_max&amp;quot; to limit the cachemap tables used&lt;br /&gt;
* user defined datasets&lt;br /&gt;
* Made it an option to provide action buttons top and bottom in workflow&lt;br /&gt;
**$c-&amp;gt;{locking}-&amp;gt;{eprint}-&amp;gt;{enable} = 1;&lt;br /&gt;
**$c-&amp;gt;{locking}-&amp;gt;{eprint}-&amp;gt;{timeout} = 600;&lt;br /&gt;
*REST privs&lt;br /&gt;
*check registation email callback&lt;br /&gt;
*epc:debug, epc:set, changes to epc:foreach&lt;br /&gt;
*lots of eprints script functions (see list above)&lt;br /&gt;
*views.pl&lt;br /&gt;
** &amp;quot;DEFAULT;render_fn=render_view_items_3col_boxes&amp;quot;,&lt;br /&gt;
** render_menu =&amp;gt; &amp;quot;render_view_menu_3col_boxes&amp;quot;&lt;br /&gt;
** ranges &amp;amp; variations were introduced in 3.1.? but need documenting.&lt;br /&gt;
* Storage plugins&lt;br /&gt;
* adding actions to abstract page&lt;br /&gt;
* select targz,zip,plain etc. in workflow/upload&lt;/div&gt;</summary>
		<author><name>Tmb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=Upgrading_from_3.1&amp;diff=10579</id>
		<title>Upgrading from 3.1</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=Upgrading_from_3.1&amp;diff=10579"/>
		<updated>2012-07-26T12:07:40Z</updated>

		<summary type="html">&lt;p&gt;Tmb: /* Minimising downtime */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
One of the core parts of upgrading from 3.1 is converting all database tables and data to the utf8 charset (previous version of EPrints used latin1). There are a couple of pitfalls in this process - the following tips are from the EPrints Services team, after carrying out many upgrades to 3.2. Please note that you follow this advice at your own risk.&lt;br /&gt;
&lt;br /&gt;
==Avoiding subject__index_grep key length error==&lt;br /&gt;
&lt;br /&gt;
When converting subject__index_grep and subject__rindex to utf8, ''bin/epadmin upgrade'' will generate an error:&lt;br /&gt;
&lt;br /&gt;
 DBD::mysql::db do failed: Specified key was too long; max key length is 1000 bytes at /opt/eprints3/perl_lib/EPrints/Database.pm line 3213, &amp;lt;STDIN&amp;gt; line 1.&lt;br /&gt;
&lt;br /&gt;
To avoid this error clear the tables before running ''bin/epadmin upgrade'':&lt;br /&gt;
&lt;br /&gt;
 delete from subject__index_grep&lt;br /&gt;
 delete from subject__rindex&lt;br /&gt;
&lt;br /&gt;
Then reindex when ''bin/epadmin upgrade'' has completed:&lt;br /&gt;
&lt;br /&gt;
 bin/epadmin reindex ARCHIVEID subject&lt;br /&gt;
&lt;br /&gt;
==Minimising downtime==&lt;br /&gt;
&lt;br /&gt;
Whilst ''bin/epadmin upgrade'' is running, your repository will be offline.&lt;br /&gt;
&lt;br /&gt;
If you have a LARGE repository the conversion to utf8 can take a LONG time (12+ hours). However some of the tables are volatile (ie. the data can be generated) so you can reduce downtime by clearing these tables beforehand, and then regenerating the content afterwards (whilst your repository is back online).&lt;br /&gt;
&lt;br /&gt;
You only really need to consider this if your eprint__rindex table contains MILLIONS of rows.&lt;br /&gt;
&lt;br /&gt;
Clear these tables before running ''bin/epadmin upgrade'':&lt;br /&gt;
&lt;br /&gt;
 DELETE FROM eprint__rindex;&lt;br /&gt;
&lt;br /&gt;
After running ''bin/epadmin upgrade'' and getting your repository back online:&lt;br /&gt;
&lt;br /&gt;
 bin/epadmin reindex ARCHIVEID eprint&lt;br /&gt;
&lt;br /&gt;
Note that your search won't be at full capacity until the indexes are fully regenerated, but we have found that getting the repository back online ASAP is more desirable so worth the trade off.&lt;/div&gt;</summary>
		<author><name>Tmb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=Upgrading_from_3.1&amp;diff=10578</id>
		<title>Upgrading from 3.1</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=Upgrading_from_3.1&amp;diff=10578"/>
		<updated>2012-07-26T12:07:14Z</updated>

		<summary type="html">&lt;p&gt;Tmb: /* Avoiding subject__index_grep key length error */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
One of the core parts of upgrading from 3.1 is converting all database tables and data to the utf8 charset (previous version of EPrints used latin1). There are a couple of pitfalls in this process - the following tips are from the EPrints Services team, after carrying out many upgrades to 3.2. Please note that you follow this advice at your own risk.&lt;br /&gt;
&lt;br /&gt;
==Avoiding subject__index_grep key length error==&lt;br /&gt;
&lt;br /&gt;
When converting subject__index_grep and subject__rindex to utf8, ''bin/epadmin upgrade'' will generate an error:&lt;br /&gt;
&lt;br /&gt;
 DBD::mysql::db do failed: Specified key was too long; max key length is 1000 bytes at /opt/eprints3/perl_lib/EPrints/Database.pm line 3213, &amp;lt;STDIN&amp;gt; line 1.&lt;br /&gt;
&lt;br /&gt;
To avoid this error clear the tables before running ''bin/epadmin upgrade'':&lt;br /&gt;
&lt;br /&gt;
 delete from subject__index_grep&lt;br /&gt;
 delete from subject__rindex&lt;br /&gt;
&lt;br /&gt;
Then reindex when ''bin/epadmin upgrade'' has completed:&lt;br /&gt;
&lt;br /&gt;
 bin/epadmin reindex ARCHIVEID subject&lt;br /&gt;
&lt;br /&gt;
==Minimising downtime==&lt;br /&gt;
&lt;br /&gt;
Whilst ''bin/epadmin upgrade'' is running, your repository will be offline.&lt;br /&gt;
&lt;br /&gt;
If you have a LARGE repository the conversion to utf8 can take a LONG time (12+ hours). However some of the tables are volatile (ie. the data can be generated) so you can reduce downtime by clearing these tables beforehand, and then regenerating the content afterwards (whilst your repository is back online).&lt;br /&gt;
&lt;br /&gt;
You only really need to consider this if your eprint__rindex table contains MILLIONS of rows.&lt;br /&gt;
&lt;br /&gt;
Clear these tables before running ''bin/epadmin upgrade'':&lt;br /&gt;
&lt;br /&gt;
 DELETE FROM eprint__rindex;&lt;br /&gt;
 DELETE FROM eprint__ordervalues_en;&lt;br /&gt;
&lt;br /&gt;
After running ''bin/epadmin upgrade'' and getting your repository back online:&lt;br /&gt;
&lt;br /&gt;
 bin/epadmin reindex ARCHIVEID eprint&lt;br /&gt;
 bin/epadmin reorder ARCHIVEID eprint&lt;br /&gt;
&lt;br /&gt;
Note that your search won't be at full capacity until the indexes are fully regenerated, but we have found that getting the repository back online ASAP is more desirable so worth the trade off.&lt;/div&gt;</summary>
		<author><name>Tmb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=Upgrading_from_3.1&amp;diff=10574</id>
		<title>Upgrading from 3.1</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=Upgrading_from_3.1&amp;diff=10574"/>
		<updated>2012-07-25T15:26:50Z</updated>

		<summary type="html">&lt;p&gt;Tmb: /* Avoiding subject__index_grep key length error */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
One of the core parts of upgrading from 3.1 is converting all database tables and data to the utf8 charset (previous version of EPrints used latin1). There are a couple of pitfalls in this process - the following tips are from the EPrints Services team, after carrying out many upgrades to 3.2. Please note that you follow this advice at your own risk.&lt;br /&gt;
&lt;br /&gt;
==Avoiding subject__index_grep key length error==&lt;br /&gt;
&lt;br /&gt;
When converting subject__index_grep and subject__rindex to utf8, ''bin/epadmin upgrade'' will generate an error:&lt;br /&gt;
&lt;br /&gt;
 DBD::mysql::db do failed: Specified key was too long; max key length is 1000 bytes at /opt/eprints3/perl_lib/EPrints/Database.pm line 3213, &amp;lt;STDIN&amp;gt; line 1.&lt;br /&gt;
&lt;br /&gt;
To avoid this error drop the tables before running ''bin/epadmin upgrade'':&lt;br /&gt;
&lt;br /&gt;
 delete from subject__index_grep&lt;br /&gt;
 delete from subject__rindex&lt;br /&gt;
&lt;br /&gt;
Then reindex when ''bin/epadmin upgrade'' has completed:&lt;br /&gt;
&lt;br /&gt;
 bin/epadmin reindex ARCHIVEID subject&lt;br /&gt;
&lt;br /&gt;
==Minimising downtime==&lt;br /&gt;
&lt;br /&gt;
Whilst ''bin/epadmin upgrade'' is running, your repository will be offline.&lt;br /&gt;
&lt;br /&gt;
If you have a LARGE repository the conversion to utf8 can take a LONG time (12+ hours). However some of the tables are volatile (ie. the data can be generated) so you can reduce downtime by clearing these tables beforehand, and then regenerating the content afterwards (whilst your repository is back online).&lt;br /&gt;
&lt;br /&gt;
You only really need to consider this if your eprint__rindex table contains MILLIONS of rows.&lt;br /&gt;
&lt;br /&gt;
Clear these tables before running ''bin/epadmin upgrade'':&lt;br /&gt;
&lt;br /&gt;
 DELETE FROM eprint__rindex;&lt;br /&gt;
 DELETE FROM eprint__ordervalues_en;&lt;br /&gt;
&lt;br /&gt;
After running ''bin/epadmin upgrade'' and getting your repository back online:&lt;br /&gt;
&lt;br /&gt;
 bin/epadmin reindex ARCHIVEID eprint&lt;br /&gt;
 bin/epadmin reorder ARCHIVEID eprint&lt;br /&gt;
&lt;br /&gt;
Note that your search won't be at full capacity until the indexes are fully regenerated, but we have found that getting the repository back online ASAP is more desirable so worth the trade off.&lt;/div&gt;</summary>
		<author><name>Tmb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=Files/OpenAIRE_Compliance_Plug-in&amp;diff=10524</id>
		<title>Files/OpenAIRE Compliance Plug-in</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=Files/OpenAIRE_Compliance_Plug-in&amp;diff=10524"/>
		<updated>2012-06-01T10:09:16Z</updated>

		<summary type="html">&lt;p&gt;Tmb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This EPrints extension is designed to help the administrators of repositories that contain outputs from EU FP7 funded projects to achieve compliance with the OpenAIRE Guidelines version 1.1 (http://www.openaire.eu/index.php?option=com_content&amp;amp;view=article&amp;amp;id=207).&lt;br /&gt;
&lt;br /&gt;
In summary, these guidelines state that the outputs from FP7 projects must be made avaiable for harvesting via OAI-PMH using a defined set specification. In addition these outputs should meet certain standards in their metadata as defined in the guidelines document.&lt;br /&gt;
&lt;br /&gt;
==What this add-on does and doesn't do==&lt;br /&gt;
&lt;br /&gt;
===This add-on will===&lt;br /&gt;
&lt;br /&gt;
* Add new metadata fields for EU FP7 specific elements&lt;br /&gt;
* Map the default EPrints data types to their DRIVER equivalents (see http://www.driver-support.eu/documents/DRIVER_Guidelines_v2_Final_2008-11-13.pdf, page 69)&lt;br /&gt;
* Create a new custom set within the OAI-PMH output of the repository called EC_fundedresources and containing all resources that are flagged as being outputs of FP7 projects&lt;br /&gt;
* Add required metadata to the OAI-PMH output&lt;br /&gt;
* Check if any files have an embargo date specified (and are restricted access) and alter the rights field in OAI-PMH output to reflect this&lt;br /&gt;
&lt;br /&gt;
===This add-on will not===&lt;br /&gt;
&lt;br /&gt;
* Check whether items flagged as outputs of FP7 projects have a Project ID specified in the correct format before including them in the EC_fundedresources set&lt;br /&gt;
* Check whether items flagged as outputs of FP7 projects have full text available before including them in the EC_fundedresources set&lt;br /&gt;
* Check whether items flagged as outputs of FP7 projects have all required metadata set (e.g. DC.rights)&lt;br /&gt;
&lt;br /&gt;
This is due to the fact that EPrints custom sets can only currently filter on a single metadata value (in this case we're using the flag that states that the resource is form an FP7 funded project).&lt;br /&gt;
&lt;br /&gt;
==Installation (EPrints 3.1+)==&lt;br /&gt;
&lt;br /&gt;
Download the latest tarball to your local repository directory (eg. /opt/eprints3/archives/ARCHIVEID/)&lt;br /&gt;
&lt;br /&gt;
Extract files:&lt;br /&gt;
&lt;br /&gt;
 tar xzvf eprints-openaire.xx.tgz&lt;br /&gt;
&lt;br /&gt;
===Update database===&lt;br /&gt;
&lt;br /&gt;
Add the new metadata fields to your database:&lt;br /&gt;
&lt;br /&gt;
 cd [eprints_root]/bin&lt;br /&gt;
 ./epadmin update_database_structure ARCHIVEID --verbose&lt;br /&gt;
&lt;br /&gt;
==Getting started==&lt;br /&gt;
&lt;br /&gt;
To activate the OpenAIRE compliance features you will need to make some changes to your repository setup. &lt;br /&gt;
&lt;br /&gt;
In file cfg/cfg.d/eprint_fields_automatic.pl add the following lines:&lt;br /&gt;
&lt;br /&gt;
 # Map Eprints type to DRIVER type&lt;br /&gt;
  my %type_map = (&lt;br /&gt;
  &amp;quot;article&amp;quot; =&amp;gt; &amp;quot;info:eu-repo/semantics/article&amp;quot;,&lt;br /&gt;
  &amp;quot;book_section&amp;quot; =&amp;gt; &amp;quot;info:eu-repo/semantics/bookPart&amp;quot;,&lt;br /&gt;
  &amp;quot;monograph&amp;quot; =&amp;gt; &amp;quot;info:eu-repo/semantics/book&amp;quot;,&lt;br /&gt;
  &amp;quot;conference_item&amp;quot; =&amp;gt; &amp;quot;info:eu-repo/semantics/conferenceObject&amp;quot;,&lt;br /&gt;
  &amp;quot;book&amp;quot; =&amp;gt; &amp;quot;info:eu-repo/semantics/book&amp;quot;,&lt;br /&gt;
  &amp;quot;patent&amp;quot; =&amp;gt; &amp;quot;info:eu-repo/semantics/patent&amp;quot;&lt;br /&gt;
 );&lt;br /&gt;
 &lt;br /&gt;
 my $mapped_type = (exists $type_map{$type}) ? $type_map{$type} : &amp;quot;info:eu-repo/semantics/other&amp;quot;;&lt;br /&gt;
 $eprint-&amp;gt;set_value(&amp;quot;fp7_type&amp;quot;, $mapped_type)&lt;br /&gt;
&lt;br /&gt;
In file cfg/workflows/eprint/default.xml add the following lines before the closing &amp;lt;/workflow&amp;gt; tag:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;stage name=&amp;quot;fp7&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;component type=&amp;quot;Field::Multi&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;title&amp;gt;Details for FP7 project outputs&amp;lt;/title&amp;gt;&lt;br /&gt;
   &amp;lt;field ref=&amp;quot;fp7_project&amp;quot;/&amp;gt;&lt;br /&gt;
   &amp;lt;field ref=&amp;quot;fp7_project_id&amp;quot;/&amp;gt;&lt;br /&gt;
   &amp;lt;field ref=&amp;quot;access_rights&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;/component&amp;gt;&lt;br /&gt;
 &amp;lt;/stage&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And add the following line to the &amp;lt;flow&amp;gt; element (near the start of the file) to place the new FP7 stage where you feelit will be most appropriate for your workflow:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;stage ref=&amp;quot;fp7&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
e.g.:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;flow&amp;gt;&lt;br /&gt;
  &amp;lt;stage ref=&amp;quot;type&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;stage ref=&amp;quot;files&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;stage ref=&amp;quot;core&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;stage ref=&amp;quot;subjects&amp;quot;/&amp;gt;&lt;br /&gt;
  &amp;lt;stage ref=&amp;quot;fp7&amp;quot;/&amp;gt;&lt;br /&gt;
 &amp;lt;/flow&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Restart apache to ensure that all the changes are applied.&lt;br /&gt;
&lt;br /&gt;
==ADDENDUM - install notes for EPrints 3.3==&lt;br /&gt;
&lt;br /&gt;
 -----Original Message-----&lt;br /&gt;
 From: Timothy Miles-Board&lt;br /&gt;
 Sent: 01 June 2012 10:53&lt;br /&gt;
 To: Rob Ingram&lt;br /&gt;
 Subject: OpenAIRE Compliance Plug-in http://files.eprints.org/649/&lt;br /&gt;
 &lt;br /&gt;
 Hi Rob,&lt;br /&gt;
 &lt;br /&gt;
 FYI&lt;br /&gt;
 &lt;br /&gt;
 I've just installed your plugin on an EPrints 3.3 repository.&lt;br /&gt;
 &lt;br /&gt;
 The OAI code has changed in 3.3 so it doesn't work out of the box.&lt;br /&gt;
 &lt;br /&gt;
 $c-&amp;gt;{oai}-&amp;gt;{v2}-&amp;gt;{output_plugins}-&amp;gt;{oai_dc} = &amp;quot;OAI_DC_Ext&amp;quot;;&lt;br /&gt;
 &lt;br /&gt;
 The OAI code no longer looks at the output_plugins setting to determine &lt;br /&gt;
 which plugin to use for each metadataPrefix. Each individual export &lt;br /&gt;
 plugin can now advertise support for a metadataPrefix so given a &lt;br /&gt;
 metadataPrefix request, the OAI code just asks the plugin subsystem for &lt;br /&gt;
 a plugin that says it supports that metadataPrefix.&lt;br /&gt;
 &lt;br /&gt;
 So in order to get the OAI_DC_Ext used instead of the default OAI_DC I &lt;br /&gt;
 needed to add the following config settings (eg. to z_oai.pl):&lt;br /&gt;
 &lt;br /&gt;
 # don't use Export::OAI_DC for oai_dc metadataPrefix...&lt;br /&gt;
 $c-&amp;gt;{plugins}-&amp;gt;{&amp;quot;Export::OAI_DC&amp;quot;}-&amp;gt;{params}-&amp;gt;{metadataPrefix} = undef;&lt;br /&gt;
 # ...use Export::OAI_DC_Ext instead&lt;br /&gt;
 $c-&amp;gt;{plugins}-&amp;gt;{&amp;quot;Export::OAI_DC_Ext&amp;quot;}-&amp;gt;{params}-&amp;gt;{metadataPrefix} =  &amp;quot;oai_dc&amp;quot;;&lt;br /&gt;
 &lt;br /&gt;
 Regards,&lt;br /&gt;
 &lt;br /&gt;
 Tim&lt;br /&gt;
 &lt;br /&gt;
 --&lt;br /&gt;
 Timothy Miles-Board&lt;br /&gt;
 EPrints Services&lt;/div&gt;</summary>
		<author><name>Tmb</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.eprints.org/w/index.php?title=My_First_Bazaar_Package&amp;diff=10494</id>
		<title>My First Bazaar Package</title>
		<link rel="alternate" type="text/html" href="https://wiki.eprints.org/w/index.php?title=My_First_Bazaar_Package&amp;diff=10494"/>
		<updated>2012-05-18T11:24:01Z</updated>

		<summary type="html">&lt;p&gt;Tmb: /* Step 5 - Adding the missing phrases */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Introduction=&lt;br /&gt;
&lt;br /&gt;
In this tutorial you will create a &amp;quot;Hello, World&amp;quot; Screen and package it as a Bazaar Package (.epm).&lt;br /&gt;
&lt;br /&gt;
=Requirements=&lt;br /&gt;
&lt;br /&gt;
You will need a working EPrints installation on which you have an administrator account. You will need to have access to the command line to create the files for the package.&lt;br /&gt;
&lt;br /&gt;
=Step 1 - Develop your package contents=&lt;br /&gt;
&lt;br /&gt;
You will need to be in the root directory of your EPrints installation (typically /opt/eprints3).&lt;br /&gt;
&lt;br /&gt;
''gedit'' is the Gnome Text editor but you can use any editor that is capable of creating text files.&lt;br /&gt;
&lt;br /&gt;
==Hello.pm==&lt;br /&gt;
&lt;br /&gt;
Create the directory to contain the ''Screen'' plugin you're going to package:&lt;br /&gt;
&lt;br /&gt;
 $ mkdir -p lib/plugins/EPrints/Plugin/Screen/&lt;br /&gt;
&lt;br /&gt;
Create the screen plugin using your preferred text editor and add the sample content below:&lt;br /&gt;
&lt;br /&gt;
 $ gedit lib/plugins/EPrints/Plugin/Screen/Hello.pm&lt;br /&gt;
&lt;br /&gt;
 package EPrints::Plugin::Screen::Hello;&lt;br /&gt;
 &lt;br /&gt;
 @ISA = ( 'EPrints::Plugin::Screen' );&lt;br /&gt;
 &lt;br /&gt;
 use strict;&lt;br /&gt;
 # Make the plug-in&lt;br /&gt;
 sub new&lt;br /&gt;
 {&lt;br /&gt;
    my( $class, %params ) = @_;&lt;br /&gt;
 &lt;br /&gt;
    my $self = $class-&amp;gt;SUPER::new(%params);&lt;br /&gt;
 &lt;br /&gt;
    # Where the button to access the screen appears if anywhere, and what priority&lt;br /&gt;
    $self-&amp;gt;{appears} = [&lt;br /&gt;
       {&lt;br /&gt;
           place =&amp;gt; &amp;quot;admin_actions&amp;quot;,&lt;br /&gt;
           position =&amp;gt; 1247,&lt;br /&gt;
       },&lt;br /&gt;
    ];&lt;br /&gt;
 &lt;br /&gt;
    return $self;&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 # Anyone can see this screen&lt;br /&gt;
 sub can_be_viewed { 1 }&lt;br /&gt;
 &lt;br /&gt;
 # What to display&lt;br /&gt;
 sub render&lt;br /&gt;
 {&lt;br /&gt;
    my( $self ) = @_;&lt;br /&gt;
  &lt;br /&gt;
    # Get the current repository object (so we can access the users, eprints information about things in this repository)&lt;br /&gt;
  &lt;br /&gt;
    my $repository = $self-&amp;gt;{repository};&lt;br /&gt;
  &lt;br /&gt;
    # Create an XML element to return to our screen&lt;br /&gt;
  &lt;br /&gt;
    my $frag = $repository-&amp;gt;xml-&amp;gt;create_document_fragment();&lt;br /&gt;
 &lt;br /&gt;
    # Fill the fragment with stuff&lt;br /&gt;
  &lt;br /&gt;
    $frag-&amp;gt;appendChild($repository-&amp;gt;xml-&amp;gt;create_text_node( &amp;quot;Hello, World!&amp;quot; ));&lt;br /&gt;
  &lt;br /&gt;
    return $frag;&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 1;&lt;br /&gt;
&lt;br /&gt;
==hello_world.pl==&lt;br /&gt;
&lt;br /&gt;
Create the package directory that will contain the package's configuration file:&lt;br /&gt;
&lt;br /&gt;
 $ mkdir -p lib/epm/hello_world/cfg/cfg.d&lt;br /&gt;
&lt;br /&gt;
Create a configuration file that enables the plugin - this file is copied into the repository when the package is enabled:&lt;br /&gt;
&lt;br /&gt;
 $ gedit lib/epm/hello_world/cfg/cfg.d/hello_world.pl&lt;br /&gt;
&lt;br /&gt;
 $c-&amp;gt;{plugins}{&amp;quot;Screen::Hello&amp;quot;}{params}{disable} = 0;&lt;br /&gt;
&lt;br /&gt;
'''NOTE All plugins in lib/plugins are disabled by default (see EPrints::PluginFactory::new) UNLESS you explicitly set the disable property in the plugin (and it doesn't make sense to set disable = 0 in the plugin because that would make it visible to all of your repositories even if they hadn't explicitly enabled your bazaar package).&lt;br /&gt;
&lt;br /&gt;
=Step 2 - Add an Icon=&lt;br /&gt;
&lt;br /&gt;
Create an Icon, using the icon builder at http://bazaar.eprints.org&lt;br /&gt;
&lt;br /&gt;
OR&lt;br /&gt;
&lt;br /&gt;
Download the hello_world icon from http://bazaar.eprints.org/images/hello_world.png&lt;br /&gt;
&lt;br /&gt;
Once you have this icon, name it hello_world.png and move it into the lib/static/images/epms/ directory.&lt;br /&gt;
&lt;br /&gt;
=Step 3 - Create a blank package=&lt;br /&gt;
&lt;br /&gt;
In ''Admin'' &amp;amp;rarr; ''System Tools'' &amp;amp;rarr; ''EPrints Bazaar'', select the ''Developer Tools'' tab.&lt;br /&gt;
&lt;br /&gt;
At the bottom of this screen is a form to create a new EPM. Enter the name (without quotes) &amp;quot;hello_world&amp;quot; and click ''Create''.&lt;br /&gt;
&lt;br /&gt;
You can fill out the metadata if you wish but at this stage you are only required to have a ''version'', which defaults to &amp;quot;1.0.0&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
At the bottom of the screen (the ''Files'' selector) you need to add the two files you created above:&lt;br /&gt;
&lt;br /&gt;
* epm/hello_world/cfg/cfg.d/hello_world.pl&lt;br /&gt;
* plugins/EPrints/Plugin/Screen/Hello.pm&lt;br /&gt;
* static/images/epm/hello_world.png&lt;br /&gt;
&lt;br /&gt;
Click ''Save and Return'' to return to the EPrints Bazaar screen.&lt;br /&gt;
&lt;br /&gt;
If you make a mistake you can click ''Edit'' on the ''Developer Tools'' tab to re-edit the package.&lt;br /&gt;
&lt;br /&gt;
=Step 4 - Enable and test the package=&lt;br /&gt;
&lt;br /&gt;
On the EPrints Bazaar ''Installed'' tab click ''Enable'' for the '''hello_world''' package. After a short time you should see a repository configuration reloaded message.&lt;br /&gt;
&lt;br /&gt;
In ''Admin'' &amp;amp;rarr; ''System Tools'' &amp;amp;rarr; ''Misc. Tools'' you should now a button-link to your plugin (although with a missing phrase).&lt;br /&gt;
&lt;br /&gt;
You can now use ''Uninstall'' to completely remove the package and the source files created. A copy of the package will be saved in '''var/cache/epm/hello_world-1.0.0.epm'''.&lt;br /&gt;
&lt;br /&gt;
=Step 5 - Adding the missing phrases=&lt;br /&gt;
&lt;br /&gt;
As EPrints is designed to be multi-language, phrases should be used instead of embedded text.&lt;br /&gt;
&lt;br /&gt;
In this section we add the phrase file to define a name a description for our screen.&lt;br /&gt;
&lt;br /&gt;
Create the English language directory that will contain the package's English language phrase file:&lt;br /&gt;
&lt;br /&gt;
 $ mkdir -p lib/lang/en/phrases/&lt;br /&gt;
&lt;br /&gt;
Create a phrase file:&lt;br /&gt;
&lt;br /&gt;
 $ gedit lib/lang/en/phrases/hello_world.xml&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;iso-8859-1&amp;quot; standalone=&amp;quot;no&amp;quot; ?&amp;gt;&lt;br /&gt;
  &amp;lt;!DOCTYPE phrases SYSTEM &amp;quot;entities.dtd&amp;quot;&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
  &amp;lt;epp:phrases xmlns=&amp;quot;http://www.w3.org/1999/xhtml&amp;quot; xmlns:epp=&amp;quot;http://eprints.org/ep3/phrase&amp;quot; xmlns:epc=&amp;quot;http://eprints.org/ep3/control&amp;quot;&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
        &amp;lt;epp:phrase id=&amp;quot;Plugin/Screen/Hello:title&amp;quot;&amp;gt;Hello&amp;lt;/epp:phrase&amp;gt;&lt;br /&gt;
        &amp;lt;epp:phrase id=&amp;quot;Plugin/Screen/Hello:description&amp;quot;&amp;gt;My First Bazaar Package&amp;lt;/epp:phrase&amp;gt;&lt;br /&gt;
        &lt;br /&gt;
        &amp;lt;epp:phrase id=&amp;quot;Plugin/Screen/Hello:text&amp;quot;&amp;gt;Hello World - This is the my first bazaar package calling.&amp;lt;/epp:phrase&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
  &amp;lt;/epp:phrases&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
Don't worry too much about the wrapping here, the important thing are the phrases of which we have created 3. &lt;br /&gt;
&lt;br /&gt;
Note that 2 of these (the top 2) will get used instantly by our package however the 3rd needs to be added to the render method of our screen. &lt;br /&gt;
&lt;br /&gt;
In order to do this edit the Hello.pm screen created in Step 1 and add the following in the appropriate place in the render method.&lt;br /&gt;
&lt;br /&gt;
  $frag-&amp;gt;appendChild($repository-&amp;gt;xml-&amp;gt;create_element(&amp;quot;br&amp;quot;));&lt;br /&gt;
  $frag-&amp;gt;appendChild($self-&amp;gt;html_phrase(&amp;quot;text&amp;quot;));&lt;br /&gt;
&lt;br /&gt;
For some hints on loading and manipulating EPrints see [[Manipulating eprints in 3.2]].&lt;br /&gt;
&lt;br /&gt;
'''Don't Forget''' to add the phrase file to your bazaar package using the developer tools tab.&lt;br /&gt;
&lt;br /&gt;
'''WARNING: if your package overrides any existing EPrints phrases then your overrides will be applied to ALL repositories even if they have not enabled your package. In this case you would add your override phrases to a separate file - eg. lib/epm/hello_world/cfg/lang/en/phrases/hello_world_overrides.xml - this file will then only be considered when a repository enables your package.&lt;br /&gt;
&lt;br /&gt;
[[Category:EPrints_Bazaar]]&lt;/div&gt;</summary>
		<author><name>Tmb</name></author>
		
	</entry>
</feed>