See the Mailing Lists Page for how to subscribe and unsubscribe.
eprints_tech messages
Please note: this page shows emails that have been sent to the eprints_tech mailing list. Some of these may be spam emails we have failed to filter.
Re: [EP-tech] https, again
From: Peter Schober <peter.schober AT univie.ac.at>
Date: Wed, 2 May 2007 17:59:04 +0200
| Threading: | ↑ [EP-tech] https, again from peter.schober AT univie.ac.at • This Message |
*** EPrints technical list - http://software.eprints.org/tech.php/ *** EPrints community wiki - http://wiki.eprints.org/ timothy, thanks for the idea, I might try this on a new archive. * Timothy Miles-Board <tmb AT ecs.soton.ac.uk> [2007-05-02 13:02]: > There may be a simpler approach to HTTPS (single repository): > > 1) remove the <VirtualHost *:80> and </VirtualHost> lines from ↵ the > archives/ARCHIVEID/var/auto-apache.conf file you'd have to disable generate_apacheconf then ("exit 0;" in the ↵ first line or something a bit more verbose ;), otherwise changes will be lost if this is ever run (by mistake, e.g.). or hack generate_apacheconf itself and remove the vhost there (even more error prone and easily lost during upgrades). > 2) include the file directly in your ssl.conf > 3) replace http with https in the base_url setting of ↵ archives/ARCHIVEID/cfg/cfg.d/20_baseurls.pl (ignore the secure_url and ↵ secure_urlpath settings) > 4) Add a redirect to your httpd.conf from http://REPOSITORYURL to ↵ https://REPOSITORYURL while this might work (for simple cases, like you said), I suppose many will need vhosts to make use of e.g. phpMyAdmin (or something like that) since eprints always grabs <Location "/">. regards, -p.schober -- peter.schober AT univie.ac.at - vienna university computer center Universitaetsstrasse 7, A-1010 Wien, Austria/Europe Tel. +43-1-4277-14155, Fax. +43-1-4277-9140
[index] [prev] [next] [options] [help]




