<div dir="ltr"><div><div><div><div><div><div><div><div>Hey John,<br></div>thanks for your answer. Bad ideas are usually the best ;)<br></div>It would be great if you could explain your suggestion a little bit more, I don't really get what you mean.<br></div>Thank you very much,<br><br></div>best regards<br></div>Thorsten Buelo<br></div>University of Cologne<br></div>Institut fuer Informatik<br></div><a href="http://www.informatik.uni-koeln.de">www.informatik.uni-koeln.de</a><br><div><div><div><div><br><div><div><div><div><div><div><br>Message: 2<br>
Date: Thu, 9 Mar 2017 12:25:57 +0000<br>
From: John Salter <<a href="mailto:J.Salter@leeds.ac.uk">J.Salter@leeds.ac.uk</a>><br>
Subject: Re: [EP-tech] technical question: one archive with two<br>
domains<br>
To: "<a href="mailto:eprints-tech@ecs.soton.ac.uk">eprints-tech@ecs.soton.ac.uk</a>" <<a href="mailto:eprints-tech@ecs.soton.ac.uk">eprints-tech@ecs.soton.ac.uk</a>><br>
Message-ID:<br>
<<a href="mailto:DB6PR0301MB231148AA2260DA554C9DA03DC4210@DB6PR0301MB2311.eurprd03.prod.outlook.com">DB6PR0301MB231148AA2260DA554C<wbr>9DA03DC4210@DB6PR0301MB2311.<wbr>eurprd03.prod.outlook.com</a>><br>
<br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hi,<br>
This might be a really bad idea (but it might be genius)?<br>
<br>
Could you output a <base href="?"/> tag (using the dynamic template system), *and* make sure all links are relative?<br>
<br>
Cheers,<br>
John<br>
<br>
From: <a href="mailto:eprints-tech-bounces@ecs.soton.ac.uk">eprints-tech-bounces@ecs.<wbr>soton.ac.uk</a> [mailto:<a href="mailto:eprints-tech-bounces@ecs.soton.ac.uk">eprints-tech-bounces@<wbr>ecs.soton.ac.uk</a>] On Behalf Of Thorsten B?lo<br>
Sent: 09 March 2017 12:10<br>
To: <a href="mailto:eprints-tech@ecs.soton.ac.uk">eprints-tech@ecs.soton.ac.uk</a><br>
Subject: [EP-tech] technical question: one archive with two domains<br>
<br>
Hey there,<br>
I'm still trying to configure my eprints archive to work with two
domains. I tried all your suggestions (except mod_substitute) in
different ways, but it still don't work.<br>
My goal: I want to access one archive using two different domains. So I
modified the apache-includes to add a ServerAlias, this part works fine:
domain1 and domain2 show the exact same website. My problem: It is the
EXACT same website, so all links are the same, too. So if i use one of
the links on domain2, I go to domain1 and do not remain on domain2.<br>
Do you have any more ideas why this could happen and how to avoid it?<br>
On my way finding a solution, I tried to modify the html-snippets used
to build the website - this worked for some parts, but changing other
parts killed the whole site. My idea was to change all links manually
(if it was working, i would automate this with a little script). Do
anybody know the part/script of eprints which combines the html
snippets? I hope that reading this script might help me to modify my
repo.<br>
Thany you again for your help,<br>
best regards<br>
Thorsten Buelo<br>
University of Cologne<br>
Institut fuer Informatik<br>
<a target="_blank" rel="noreferrer" href="http://www.informatik.uni-koeln.de">www.informatik.uni-koeln.de</a><<a target="_blank" rel="noreferrer" href="http://www.informatik.uni-koeln.de">ht<wbr>tp://www.informatik.uni-koeln.<wbr>de</a>><div class="gmail_extra"><br><br></div></div></div></div></div></div></div></div></div></div></div></div>