<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>Are you running https?</div><div><br></div><br><div>
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>--<br>Adam Field<br>Business Relationship Manager and Community Lead<br>EPrints Services</div><div><br></div></div></div><br class="Apple-interchange-newline">
</div>
<br><div><div>On 30 Oct 2015, at 15:15, John Salter &lt;<a href="mailto:J.Salter@leeds.ac.uk">J.Salter@leeds.ac.uk</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">That all looks OK (I'm guessing 'loclhost' in the second one is a typo?)<br><br>Have you got any other config files that define 'base_url' or similar in:<br>~/archives/&lt;dbis&gt;/cfg/cfg.d/<br>~/archives/ &lt;inf&gt;/cfg/cfg.d/<br>~/lib/cfg.d/<br>~/lib/syscfg.d/<br>~/cfg/cfg.d/<br><br>The http paths configured in here: <br><a href="https://github.com/eprints/eprints/blob/3.3/perl_lib/EPrints/Repository.pm#L504">https://github.com/eprints/eprints/blob/3.3/perl_lib/EPrints/Repository.pm#L504</a><br>Which in turn calls _add_http_paths:<br>https://github.com/eprints/eprints/blob/3.3/perl_lib/EPrints/Repository.pm#L715-L774<br>and _add_live_http_paths:<br>https://github.com/eprints/eprints/blob/3.3/perl_lib/EPrints/Repository.pm#L288-L300<br><br>- but these can be overridden in config files.<br><br>If none of that helps, if you look at the source-code for a page, are the links relative, or absolute?<br>Do you have a &lt;base...&gt; element in your template?<br><br>Cheers,<br>John<br><br><br><br>-----Original Message-----<br>From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Sebastian Schick<br>Sent: 30 October 2015 14:41<br>To: eprints-tech@ecs.soton.ac.uk<br>Subject: [EP-tech] Re: problem with multiple archives from<br><br>Hi Thomas,<br><br>the content of &lt;EprintsPath&gt;/archives/&lt;dbis&gt;/cfg/cfg.d/10_core.pl is<br>$c-&gt;{host} = 'dbis.localhost';<br>$c-&gt;{port} = 80;<br>$c-&gt;{aliases} = [];<br>$c-&gt;{securehost} = '';<br>$c-&gt;{secureport} = 443;<br>$c-&gt;{http_root} = undef;<br><br>the content of &lt;EprintsPath&gt;/archives/&lt;inf&gt;/cfg/cfg.d/10_core.pl is<br><br>$c-&gt;{host} = 'inf.loclhost';<br>$c-&gt;{port} = 80;<br>$c-&gt;{aliases} = [];<br>$c-&gt;{securehost} = '';<br>$c-&gt;{secureport} = 443;<br>$c-&gt;{http_root} = undef;<br><br><br><br>Is there something missing in the second conf file?<br><br>Sebastian<br><br><br>On 30.10.2015 14:52, Thomas Lauke wrote:<br><blockquote type="cite">Hi Sebastian,<br><br><blockquote type="cite">Why does eprints generate wrong links on the web pages?<br></blockquote>imho the definition in &lt;EprintsPath&gt;/archives/&lt;repoID&gt;/cfg/cfg.d/10_core.pl is relevant during bin/generate_static ...<br><br>Hth<br>Thomas<br></blockquote><br><br><br>*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech<br>*** Archive: http://www.eprints.org/tech.php/<br>*** EPrints community wiki: http://wiki.eprints.org/<br>*** EPrints developers Forum: http://forum.eprints.org/<br></blockquote></div><br></body></html>