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: Timothy Miles-Board <tmb AT ecs.soton.ac.uk>
Date: Tue, 08 May 2007 10:41:54 +0100
| 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/ Peter Schober wrote: > *** 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). I would suggest running generate_apacheconf, then copying the auto-apache.conf file to e.g. auto-apache.ssl.conf and use that (remove VirtualHost lines and include this file in ssl.conf) > >> 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 > -- Timothy Miles-Board EPrints Services School of Electronics and Computer Science University of Southampton, UK +44 (0)23 8059 4059 tmb AT ecs.soton.ac.uk http://www.eprints.org/services/ Consultancy - Training - Hosting
[index] [prev] [next] [options] [help]




