EPrints Technical Mailing List Archive

Message: #05046

< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

[EP-tech] Re: problem with multiple archives from

That all looks OK (I'm guessing 'loclhost' in the second one is a typo?)

Have you got any other config files that define 'base_url' or similar in:
~/archives/ <inf>/cfg/cfg.d/

The http paths configured in here: 
Which in turn calls _add_http_paths:
and _add_live_http_paths:

- but these can be overridden in config files.

If none of that helps, if you look at the source-code for a page, are the links relative, or absolute?
Do you have a <base...> element in your template?


-----Original Message-----
From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Sebastian Schick
Sent: 30 October 2015 14:41
To: eprints-tech@ecs.soton.ac.uk
Subject: [EP-tech] Re: problem with multiple archives from

Hi Thomas,

the content of <EprintsPath>/archives/<dbis>/cfg/cfg.d/10_core.pl is
$c->{host} = 'dbis.localhost';
$c->{port} = 80;
$c->{aliases} = [];
$c->{securehost} = '';
$c->{secureport} = 443;
$c->{http_root} = undef;

the content of <EprintsPath>/archives/<inf>/cfg/cfg.d/10_core.pl is

$c->{host} = 'inf.loclhost';
$c->{port} = 80;
$c->{aliases} = [];
$c->{securehost} = '';
$c->{secureport} = 443;
$c->{http_root} = undef;

Is there something missing in the second conf file?


On 30.10.2015 14:52, Thomas Lauke wrote:
> Hi Sebastian,
>> Why does eprints generate wrong links on the web pages?
> imho the definition in <EprintsPath>/archives/<repoID>/cfg/cfg.d/10_core.pl is relevant during bin/generate_static ...
> Hth
> Thomas