EPrints Technical Mailing List Archive

See the EPrints wiki for instructions on how to join this mailing list and related information.

Message: #00025


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

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


On Mon, Feb 27, 2012 at 10:08 AM, Ian Stuart <Ian.Stuart@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