<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;">Try setting secureport to undef in the one that isn't https, then running generate_appacheconf --replace<br><div><br class="webkit-block-placeholder"></div><div>...also, I believe securehost should be the same as host in the one that is https.</div><div><br class="webkit-block-placeholder"></div><div><br class="webkit-block-placeholder"></div><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 2 Nov 2015, at 15:40, Adam Field <<a href="mailto:af05v@ecs.soton.ac.uk">af05v@ecs.soton.ac.uk</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html charset=us-ascii"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>Is there a pattern in which links go to the wrong site (e.g. https ones don't work?).</div><br><div>
<div style="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="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 2 Nov 2015, at 15:32, Sebastian Schick <<a href="mailto:sebastian.schick@uni-rostock.de">sebastian.schick@uni-rostock.de</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<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]--><div 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><div><font size="2" color="#44546a" face="Calibri"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#44546A"> </span></font><br class="webkit-block-placeholder"></div><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""> <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>] <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> <a href="mailto:eprints-tech@ecs.soton.ac.uk">eprints-tech@ecs.soton.ac.uk</a><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><div><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font><br class="webkit-block-placeholder"></div><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><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font><br class="webkit-block-placeholder"></div><div><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font><br class="webkit-block-placeholder"></div><div><div><div><p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size: 12pt;">--<br>Adam Field<br>Business Relationship Manager and Community Lead<br>EPrints Services<o:p></o:p></span></font></p></div><div><font size="3" face="Times New Roman"><span style="font-size: 12pt;"> </span></font><br class="webkit-block-placeholder"></div></div><div><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font><br class="webkit-block-placeholder"></div></div><div><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font><br class="webkit-block-placeholder"></div><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><div><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font><br class="webkit-block-placeholder"></div></div></div>*** 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><br></blockquote></div><br></div>*** 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><br></blockquote></div><br></body></html>