EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #06166
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Antwort: technical question: one archive with two domains
- To: eprints-tech@ecs.soton.ac.uk
- Subject: [EP-tech] Antwort: technical question: one archive with two domains
- From: martin.braendle@id.uzh.ch
- Date: Wed, 18 Jan 2017 08:14:31 +0100
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
- References:
- [EP-tech] technical question: one archive with two domains
- From: Thorsten Bülo <thorsten.buelo@gmail.com>
- [EP-tech] technical question: one archive with two domains
- Prev by Date: Re: [EP-tech] technical question: one archive with two domains
- Next by Date: [EP-tech] FW: Problem with installing on Ubuntu
- Previous by thread: Re: [EP-tech] technical question: one archive with two domains
- Next by thread: [EP-tech] technical question: one archive with two domains
- Index(es):