EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
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
- To: "'eprints-tech@ecs.soton.ac.uk'" <eprints-tech@ecs.soton.ac.uk>
- Subject: [EP-tech] Re: problem with multiple archives from
- From: John Salter <J.Salter@leeds.ac.uk>
- Date: Fri, 30 Oct 2015 15:15:50 +0000
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/<dbis>/cfg/cfg.d/ ~/archives/ <inf>/cfg/cfg.d/ ~/lib/cfg.d/ ~/lib/syscfg.d/ ~/cfg/cfg.d/ The http paths configured in here: https://github.com/eprints/eprints/blob/3.3/perl_lib/EPrints/Repository.pm#L504 Which in turn calls _add_http_paths: https://github.com/eprints/eprints/blob/3.3/perl_lib/EPrints/Repository.pm#L715-L774 and _add_live_http_paths: https://github.com/eprints/eprints/blob/3.3/perl_lib/EPrints/Repository.pm#L288-L300 - 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? Cheers, John -----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? Sebastian 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
- Follow-Ups:
- [EP-tech] Re: problem with multiple archives from
- From: Adam Field <af05v@ecs.soton.ac.uk>
- [EP-tech] Re: problem with multiple archives from
- References:
- [EP-tech] Re: problem with multiple archives from
- From: Thomas Lauke <th.lauke@arcor.de>
- [EP-tech] Re: problem with multiple archives from
- From: Sebastian Schick <sebastian.schick@uni-rostock.de>
- [EP-tech] Re: problem with multiple archives from
- Prev by Date: [EP-tech] Re: problem with multiple archives from
- Next by Date: [EP-tech] Re: Coversheets plugin - can't find OpenOffice
- Previous by thread: [EP-tech] Re: problem with multiple archives from
- Next by thread: [EP-tech] Re: problem with multiple archives from
- Index(es):