<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://wiki.ext-9.eprints-hosting.org/w/index.php?action=history&amp;feed=atom&amp;title=Apachevhost.conf</id>
	<title>Apachevhost.conf - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.ext-9.eprints-hosting.org/w/index.php?action=history&amp;feed=atom&amp;title=Apachevhost.conf"/>
	<link rel="alternate" type="text/html" href="https://wiki.ext-9.eprints-hosting.org/w/index.php?title=Apachevhost.conf&amp;action=history"/>
	<updated>2026-05-11T06:34:24Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>https://wiki.ext-9.eprints-hosting.org/w/index.php?title=Apachevhost.conf&amp;diff=14967&amp;oldid=prev</id>
		<title>Drn@ecs.soton.ac.uk at 00:30, 6 March 2022</title>
		<link rel="alternate" type="text/html" href="https://wiki.ext-9.eprints-hosting.org/w/index.php?title=Apachevhost.conf&amp;diff=14967&amp;oldid=prev"/>
		<updated>2022-03-06T00:30:28Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 00:30, 6 March 2022&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{dirs}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{dirs}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&#039;&#039;&#039;apachevhost.conf&#039;&#039;&#039; is intended for adding additional Apache configuration if you need to add non-EPrints parts under you repository archive&#039;s hostname.  Such as [[How to add a subdirectory that runs PHP scripts]].  If this file is required it should be placed directly under the archive&#039;s cfg sub-directory, (i.e. &#039;&#039;EPRINTS_PATH/archives/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;ARCHIVE_NAME&lt;/del&gt;/cfg/&#039;&#039;).  One reason for having this file may be to redirect certain requests off to other websites.  Doing this in Apache configuration is much more efficient that writing bespoke code for EPrints to perform these redirects.  Here is an example of some Apache configuration for doing redirects:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&#039;&#039;&#039;apachevhost.conf&#039;&#039;&#039; is intended for adding additional Apache configuration if you need to add non-EPrints parts under you repository archive&#039;s hostname.  Such as [[How to add a subdirectory that runs PHP scripts]].  If this file is required it should be placed directly under the archive&#039;s cfg sub-directory, (i.e. &#039;&#039;EPRINTS_PATH/archives/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;ARCHIVEID&lt;/ins&gt;/cfg/&#039;&#039;).  One reason for having this file may be to redirect certain requests off to other websites.  Doing this in Apache configuration is much more efficient that writing bespoke code for EPrints to perform these redirects.  Here is an example of some Apache configuration for doing redirects:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  RewriteEngine on&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  RewriteEngine on&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Drn@ecs.soton.ac.uk</name></author>
	</entry>
	<entry>
		<id>https://wiki.ext-9.eprints-hosting.org/w/index.php?title=Apachevhost.conf&amp;diff=14356&amp;oldid=prev</id>
		<title>Drn@ecs.soton.ac.uk: Added apachevhost.conf page</title>
		<link rel="alternate" type="text/html" href="https://wiki.ext-9.eprints-hosting.org/w/index.php?title=Apachevhost.conf&amp;diff=14356&amp;oldid=prev"/>
		<updated>2022-01-28T12:06:56Z</updated>

		<summary type="html">&lt;p&gt;Added apachevhost.conf page&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{dirs}}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;apachevhost.conf&amp;#039;&amp;#039;&amp;#039; is intended for adding additional Apache configuration if you need to add non-EPrints parts under you repository archive&amp;#039;s hostname.  Such as [[How to add a subdirectory that runs PHP scripts]].  If this file is required it should be placed directly under the archive&amp;#039;s cfg sub-directory, (i.e. &amp;#039;&amp;#039;EPRINTS_PATH/archives/ARCHIVE_NAME/cfg/&amp;#039;&amp;#039;).  One reason for having this file may be to redirect certain requests off to other websites.  Doing this in Apache configuration is much more efficient that writing bespoke code for EPrints to perform these redirects.  Here is an example of some Apache configuration for doing redirects:&lt;br /&gt;
&lt;br /&gt;
 RewriteEngine on&lt;br /&gt;
 RewriteRule   &amp;quot;^/journal/till/?$&amp;quot;   &amp;quot;https://www.teachinginlifelonglearning.org.uk/&amp;quot; [R,L]&lt;br /&gt;
 RewriteRule   &amp;quot;^/journal/bjpharm/?$&amp;quot;   &amp;quot;https://www.bjpharm.org.uk/&amp;quot; [R,L]&lt;br /&gt;
 RewriteRule   &amp;quot;^/journal/jpm/?$&amp;quot;   &amp;quot;https://www.journalofperformancemagic.org.uk/&amp;quot; [R,L]&lt;br /&gt;
&lt;br /&gt;
If you are adding rewrites for apachevhost.conf you have need to also add these to [[securevhost.conf]] if you have HTTPS setup for your repository archive.&lt;br /&gt;
&lt;br /&gt;
apachevhost.conf may have been automatically created if your originally installed you repository archive on an older version of EPrints.  If you to have to create this file be sure to run the following command so that is linked into the rest of your Apache configuration be reloading the web server.&lt;br /&gt;
 EPRINTS_PATH/bin/generate_apacheconf --system --replace&lt;/div&gt;</summary>
		<author><name>Drn@ecs.soton.ac.uk</name></author>
	</entry>
</feed>