[EP-tech] Re: EPrints behind a reverse proxy

raffaele messuti raffaele.messuti at gmail.com
Mon Feb 27 09:56:26 GMT 2012


On Mon, Feb 27, 2012 at 10:08 AM, Ian Stuart <Ian.Stuart at ed.ac.uk> wrote:
>
>
> http://wiki.eprints.org/w/Non-root_proxy
> Look down to "Creating the basic repository"

--
EPrints produces absolute URLs for everything (http://web.host.name/),
so we need to ensure that the repository uses the correct address.
Editarchives/ARCHIVEID/cfg/cfg.d/10_core.pl
$c->{host} = 'public.host.name.org';
$c->{port} = '80';
--

Yes, but i think this doesn't solve.
This should be my architecture:

http://url1.proxy:80   ->   http://eprints.local:8080
http://url2.proxy:80   ->   http://eprints.local:8081

1 frontend reverse proxy (with subdomains), and several backend
eprints, running on local domains, on different ports (on separate
servers). If href are absolute, it will not work.

ciao
--
raffaele


More information about the Eprints-tech mailing list