EPrints Technical Mailing List Archive
Message: #00956
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Re: Deployment on two different hosts (http, https)
- To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
- Subject: [EP-tech] Re: Deployment on two different hosts (http, https)
- From: Jon Hallett <Jon.Hallett@uwe.ac.uk>
- Date: Mon, 20 Aug 2012 09:08:27 +0100
Hi Moritz, I think this is the same problem I was having. Does anything in http://www.eprints.org/tech.php/16874.html and http://www.eprints.org/tech.php/16546.html look familiar? Thanks, Jon ---------------------------------------------------------------------- Message: 1 Date: Mon, 13 Aug 2012 10:57:18 +0200 From: Moritz Schepp <schepp@ist.ac.at> Subject: [EP-tech] Deployment on two different hosts (http, https) To: eprints-tech@ecs.soton.ac.uk Message-ID: <5028C16E.5060201@ist.ac.at> Content-Type: text/plain; charset=UTF-8; format=flowed Hi, I am trying to deploy eprints to (let's say) http://eprints.example.com and https://myhost.example.local/repository Generally, it seems to work but the views generated are strictly for the HTTP configuration. When I open https://myhost.example.local/repository Some (!) images don't show and some links are pointing to the eprints.example.com domain. My VirtualHosts look like this: <VirtualHost xxx.xxx.xxx.xxx:80> ServerName repository.example.com DocumentRoot /opt/eprints3/archives/repo1 <Location /> PerlSetVar EPrints_ArchiveID repo1 Options +ExecCGI Order allow,deny Allow from all </Location> PerlTransHandler +EPrints::Apache::Rewrite </VirtualHost> and: <VirtualHost yyy.yyy.yyy.yyy:443> ServerName myhost.example.local DocumentRoot /var/www/myhost # This I need for something else. SSLEngine on SSLCertificateFile /etc/ssl/certs/myhost.example.local.crt SSLCertificateKeyFile /etc/ssl/private/myhost.example.local.key <Location /repository> PerlSetVar EPrints_ArchiveID repo1 PerlSetVar EPrints_Secure yes Options +ExecCGI Order allow,deny Allow from all </Location> PerlTransHandler +EPrints::Apache::Rewrite </VirtualHost> How can I make this work? Am I forgetting something? Any help is much appreciated, Moritz ------------------------------ _______________________________________________ Eprints-tech mailing list Eprints-tech@ecs.soton.ac.uk http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech End of Eprints-tech Digest, Vol 47, Issue 8 *******************************************
- Prev by Date: [EP-tech] upgrade to 3.3.10 broke set_language
- Next by Date: [EP-tech] Documents component with options unrolled from the start
- Previous by thread: [EP-tech] upgrade to 3.3.10 broke set_language
- Next by thread: [EP-tech] Documents component with options unrolled from the start
- Index(es):