<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.E-MailFormatvorlage17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#44546A;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=DE link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><font size=2 color="#44546a" face=Calibri><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#44546A'>Yes, the first archive is running https. The second not yet.<o:p></o:p></span></font></p><p class=MsoNormal><font size=2 color="#44546a" face=Calibri><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#44546A'><br>Sebastian<o:p></o:p></span></font></p><p class=MsoNormal><font size=2 color="#44546a" face=Calibri><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#44546A'><o:p> </o:p></span></font></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";font-weight:bold'>Von:</span></font></b><font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] <b><span style='font-weight:bold'>Im Auftrag von </span></b>Adam Field<br><b><span style='font-weight:bold'>Gesendet:</span></b> Montag, 2. November 2015 15:53<br><b><span style='font-weight:bold'>An:</span></b> eprints-tech@ecs.soton.ac.uk<br><b><span style='font-weight:bold'>Betreff:</span></b> [EP-tech] Re: problem with multiple archives from<o:p></o:p></span></font></p></div></div><p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:12.0pt'><o:p> </o:p></span></font></p><div><p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>Are you running https?<o:p></o:p></span></font></p></div><div><p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:12.0pt'><o:p> </o:p></span></font></p></div><p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:12.0pt'><o:p> </o:p></span></font></p><div><div><div><div><p class=MsoNormal><font size=3 color=black face="Times New Roman"><span style='font-size:12.0pt;color:black'>--<br>Adam Field<br>Business Relationship Manager and Community Lead<br>EPrints Services<o:p></o:p></span></font></p></div><div><p class=MsoNormal><font size=3 color=black face="Times New Roman"><span style='font-size:12.0pt;color:black'><o:p> </o:p></span></font></p></div></div></div><p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:12.0pt'><o:p> </o:p></span></font></p></div><p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:12.0pt'><o:p> </o:p></span></font></p><div><div><p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>On 30 Oct 2015, at 15:15, John Salter <<a href="mailto:J.Salter@leeds.ac.uk">J.Salter@leeds.ac.uk</a>> wrote:<o:p></o:p></span></font></p></div><p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:12.0pt'><br><br><o:p></o:p></span></font></p><p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>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/<dbis>/cfg/cfg.d/<br>~/archives/ <inf>/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><a href="https://github.com/eprints/eprints/blob/3.3/perl_lib/EPrints/Repository.pm#L715-L774">https://github.com/eprints/eprints/blob/3.3/perl_lib/EPrints/Repository.pm#L715-L774</a><br>and _add_live_http_paths:<br><a href="https://github.com/eprints/eprints/blob/3.3/perl_lib/EPrints/Repository.pm#L288-L300">https://github.com/eprints/eprints/blob/3.3/perl_lib/EPrints/Repository.pm#L288-L300</a><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 <base...> element in your template?<br><br>Cheers,<br>John<br><br><br><br>-----Original Message-----<br>From: <a href="mailto:eprints-tech-bounces@ecs.soton.ac.uk">eprints-tech-bounces@ecs.soton.ac.uk</a> [<a href="mailto:eprints-tech-bounces@ecs.soton.ac.uk">mailto:eprints-tech-bounces@ecs.soton.ac.uk</a>] On Behalf Of Sebastian Schick<br>Sent: 30 October 2015 14:41<br>To: <a href="mailto:eprints-tech@ecs.soton.ac.uk">eprints-tech@ecs.soton.ac.uk</a><br>Subject: [EP-tech] Re: problem with multiple archives from<br><br>Hi Thomas,<br><br>the content of <EprintsPath>/archives/<dbis>/cfg/cfg.d/10_core.pl is<br>$c->{host} = 'dbis.localhost';<br>$c->{port} = 80;<br>$c->{aliases} = [];<br>$c->{securehost} = '';<br>$c->{secureport} = 443;<br>$c->{http_root} = undef;<br><br>the content of <EprintsPath>/archives/<inf>/cfg/cfg.d/10_core.pl is<br><br>$c->{host} = 'inf.loclhost';<br>$c->{port} = 80;<br>$c->{aliases} = [];<br>$c->{securehost} = '';<br>$c->{secureport} = 443;<br>$c->{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><br><o:p></o:p></span></font></p><p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>Hi Sebastian,<br><br><br><o:p></o:p></span></font></p><p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>Why does eprints generate wrong links on the web pages?<o:p></o:p></span></font></p><p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>imho the definition in <EprintsPath>/archives/<repoID>/cfg/cfg.d/10_core.pl is relevant during bin/generate_static ...<br><br>Hth<br>Thomas<o:p></o:p></span></font></p><p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:12.0pt'><br><br><br>*** Options: <a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a><br>*** Archive: <a href="http://www.eprints.org/tech.php/">http://www.eprints.org/tech.php/</a><br>*** EPrints community wiki: <a href="http://wiki.eprints.org/">http://wiki.eprints.org/</a><br>*** EPrints developers Forum: <a href="http://forum.eprints.org/">http://forum.eprints.org/</a><o:p></o:p></span></font></p></div><p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:12.0pt'><o:p> </o:p></span></font></p></div></body></html>