[EP-tech] Antwort: technical question: one archive with two domains

martin.braendle at id.uzh.ch martin.braendle at id.uzh.ch
Wed Jan 18 07:14:31 GMT 2017


Hi,

it is no problem to configure several domains for the same archive:

in  archives/{yourrepo}/cfg/cfg.d/10_core.pl  :

$c->{host} = 'domain1';
$c->{aliases} = [ 'domain2', 'domain3', ...]


in cfg/apache/yourrepo.conf

<VirtualHost *:80>
ServerName domain1
ServerAlias domain2
ServerAlias domain3
.
.


In archives/{yourrepo}/ssl/securevhost.conf

<VirtualHost *:443>
ServerName domain1
ServerAlias domain2
ServerAlias domain3
.
.
.


Of course, all the domains must be registered as Aliases in the DNS. And
the SSL certificates must contain all the domains.

Our observation ist that usually the domain the user starts with is used
during the visit of the repo website. Only during login, the URL switches
to the main domain.
We have no problem with that change.

Best regards,

Martin


--
Dr. Martin Brändle
Zentrale Informatik
Universität Zürich
Stampfenbachstr. 73
CH-8006 Zürich
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20170118/eaa75faf/attachment.html 


More information about the Eprints-tech mailing list