<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 http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 15 (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;
        font-family:"Calibri",sans-serif;
        color:#44546A;}
span.E-MailFormatvorlage18
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.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><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>Hi,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>we were able to run one archive with https and two other archives with http! <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>If we try to run three archives with https we run into the same problems as described before. <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>We also tried to run two archives with https and the third with http. In this case only the links for the second archive with https are generated wrong. <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>Does anyone have a running configuration for more than 2 archive using https?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>Here is our configuration for two archives. <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>First archive:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'># This file was created by bin/epadmin<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'># You can regenerate this file by doing ./bin/epadmin config_core ifi<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>$c-&gt;{host} = 'eprints.localhost';<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>$c-&gt;{port} = 80;<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>$c-&gt;{aliases} = [];<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>$c-&gt;{securehost} = 'eprints.localhost';<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>$c-&gt;{secureport} = 443;<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>$c-&gt;{http_root} = undef;<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>Second archive:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'># This file was created by bin/epadmin<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'># You can regenerate this file by doing ./bin/epadmin config_core dbis<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>$c-&gt;{host} = 'eprints.dbis.localhost';<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>$c-&gt;{port} = 80;<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>$c-&gt;{aliases} = [];<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>$c-&gt;{securehost} = 'eprints.dbis.localhost';<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>$c-&gt;{secureport} = 443;<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>$c-&gt;{http_root} = undef;<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>Do you have any other hints?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US'>Sebastian<o:p></o:p></span></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'>Von:</span></b><span style='font-size:11.0pt;font-family:"Calibri",sans-serif'> eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] <b>Im Auftrag von </b>Adam Field<br><b>Gesendet:</b> Montag, 2. </span><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif'>November 2015 16:41<br><b>An:</b> eprints-tech@ecs.soton.ac.uk<br><b>Betreff:</b> [EP-tech] Re: problem with multiple archives from<o:p></o:p></span></p></div></div><p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p><div><p class=MsoNormal><span lang=EN-US>Is there a pattern in which links go to the wrong site (e.g. https ones don't work?).<o:p></o:p></span></p></div><p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p><div><div><div><div><p class=MsoNormal><span lang=EN-US style='color:black'>--<br>Adam Field<br>Business Relationship Manager and Community Lead<br>EPrints Services<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US style='color:black'><o:p>&nbsp;</o:p></span></p></div></div></div><p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p></div><p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p><div><div><p class=MsoNormal><span lang=EN-US>On 2 Nov 2015, at 15:32, Sebastian Schick &lt;</span><a href="mailto:sebastian.schick@uni-rostock.de"><span lang=EN-US>sebastian.schick@uni-rostock.de</span></a><span lang=EN-US>&gt; wrote:<o:p></o:p></span></p></div><p class=MsoNormal><span lang=EN-US><br><br><o:p></o:p></span></p><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><div><p class=MsoNormal><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.</span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#44546A'><br>Sebastian</span><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri",sans-serif;color:#44546A'>&nbsp;</span><span lang=EN-US><o:p></o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma",sans-serif'>Von:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma",sans-serif'> </span><a href="mailto:eprints-tech-bounces@ecs.soton.ac.uk"><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma",sans-serif'>eprints-tech-bounces@ecs.soton.ac.uk</span></a><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma",sans-serif'> [</span><a href="mailto:eprints-tech-bounces@ecs.soton.ac.uk"><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma",sans-serif'>mailto:eprints-tech-bounces@ecs.soton.ac.uk</span></a><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma",sans-serif'>] <b>Im Auftrag von </b>Adam Field<br><b>Gesendet:</b> Montag, 2. November 2015 15:53<br><b>An:</b> </span><a href="mailto:eprints-tech@ecs.soton.ac.uk"><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma",sans-serif'>eprints-tech@ecs.soton.ac.uk</span></a><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma",sans-serif'><br><b>Betreff:</b> [EP-tech] Re: problem with multiple archives from</span><span lang=EN-US><o:p></o:p></span></p></div></div><p class=MsoNormal><span lang=EN-US>&nbsp;<o:p></o:p></span></p><div><p class=MsoNormal><span lang=EN-US>Are you running https?<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US>&nbsp;<o:p></o:p></span></p></div><p class=MsoNormal><span lang=EN-US>&nbsp;<o:p></o:p></span></p><div><div><div><p class=MsoNormal><span lang=EN-US>--<br>Adam Field<br>Business Relationship Manager and Community Lead<br>EPrints Services<o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US>&nbsp;<o:p></o:p></span></p></div></div><p class=MsoNormal><span lang=EN-US>&nbsp;<o:p></o:p></span></p></div><p class=MsoNormal><span lang=EN-US>&nbsp;<o:p></o:p></span></p><div><div><p class=MsoNormal><span lang=EN-US>On 30 Oct 2015, at 15:15, John Salter &lt;</span><a href="mailto:J.Salter@leeds.ac.uk"><span lang=EN-US>J.Salter@leeds.ac.uk</span></a><span lang=EN-US>&gt; wrote:<o:p></o:p></span></p></div><p class=MsoNormal><span lang=EN-US><br><br><br><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>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></span><a href="https://github.com/eprints/eprints/blob/3.3/perl_lib/EPrints/Repository.pm#L504"><span lang=EN-US>https://github.com/eprints/eprints/blob/3.3/perl_lib/EPrints/Repository.pm#L504</span></a><span lang=EN-US><br>Which in turn calls _add_http_paths:<br></span><a href="https://github.com/eprints/eprints/blob/3.3/perl_lib/EPrints/Repository.pm#L715-L774"><span lang=EN-US>https://github.com/eprints/eprints/blob/3.3/perl_lib/EPrints/Repository.pm#L715-L774</span></a><span lang=EN-US><br>and _add_live_http_paths:<br></span><a href="https://github.com/eprints/eprints/blob/3.3/perl_lib/EPrints/Repository.pm#L288-L300"><span lang=EN-US>https://github.com/eprints/eprints/blob/3.3/perl_lib/EPrints/Repository.pm#L288-L300</span></a><span lang=EN-US><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: </span><a href="mailto:eprints-tech-bounces@ecs.soton.ac.uk"><span lang=EN-US>eprints-tech-bounces@ecs.soton.ac.uk</span></a><span lang=EN-US> [</span><a href="mailto:eprints-tech-bounces@ecs.soton.ac.uk"><span lang=EN-US>mailto:eprints-tech-bounces@ecs.soton.ac.uk</span></a><span lang=EN-US>] On Behalf Of Sebastian Schick<br>Sent: 30 October 2015 14:41<br>To: </span><a href="mailto:eprints-tech@ecs.soton.ac.uk"><span lang=EN-US>eprints-tech@ecs.soton.ac.uk</span></a><span lang=EN-US><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><br><br><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Hi Sebastian,<br><br><br><br><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Why does eprints generate wrong links on the web pages?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>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<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><br><br><br>*** Options: </span><a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech"><span lang=EN-US>http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</span></a><span lang=EN-US><br>*** Archive: </span><a href="http://www.eprints.org/tech.php/"><span lang=EN-US>http://www.eprints.org/tech.php/</span></a><span lang=EN-US><br>*** EPrints community wiki: </span><a href="http://wiki.eprints.org/"><span lang=EN-US>http://wiki.eprints.org/</span></a><span lang=EN-US><br>*** EPrints developers Forum: </span><a href="http://forum.eprints.org/"><span lang=EN-US>http://forum.eprints.org/</span></a><span lang=EN-US><o:p></o:p></span></p></div><p class=MsoNormal><span lang=EN-US>&nbsp;<o:p></o:p></span></p></div><p class=MsoNormal><span lang=EN-US>*** Options: </span><a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech"><span lang=EN-US>http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</span></a><span lang=EN-US><br>*** Archive: </span><a href="http://www.eprints.org/tech.php/"><span lang=EN-US>http://www.eprints.org/tech.php/</span></a><span lang=EN-US><br>*** EPrints community wiki: </span><a href="http://wiki.eprints.org/"><span lang=EN-US>http://wiki.eprints.org/</span></a><span lang=EN-US><br>*** EPrints developers Forum: </span><a href="http://forum.eprints.org/"><span lang=EN-US>http://forum.eprints.org/</span></a><span lang=EN-US><o:p></o:p></span></p></blockquote></div><p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p></div></body></html>