EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #03169
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Re: Altmetrics
- To: eprints-tech@ecs.soton.ac.uk
- Subject: [EP-tech] Re: Altmetrics
- From: Sebastien Francois <sf2@ecs.soton.ac.uk>
- Date: Tue, 17 Jun 2014 15:31:26 +0100
Yes, that will make any linux tool/most
PERL libraries to use that proxy setting (eg wget, UA).
However that file might be over-written by EPrints (it's auto-generated from the local conf). One way to have this into EPrints is to edit eprints/archives/<id>/cfg/cfg.d/session.pl (create it if it doesn't exist) and: $c->{session_init} = sub { my( $repository, $offline ) = @_; $ENV{http_proxy} = "http://wherever.your.proxy.is:3128/"; }; Then restart apache (perhaps the indexer too). Seb On 17/06/14 15:34, Lizz Jennings wrote: When I was having trouble with the EPrints Bazaar not loading, I found adding SetEnv http_proxy http://wherever.your.proxy.is:3128/ to eprints/cfg/apache/[ArchiveID].conf solved the problem. Not sure if that will help? Lizz On 17/06/2014 15:25, Andrew Beeken wrote:Got it. Yes, that¹s returning XHTML output which I presume is correct. Any ideas what might be stopping it at this end? Any files I should be checking within our EPrints installation? On 17/06/2014 15:09, "Sebastien Francois" <sf2@ecs.soton.ac.uk> wrote:It's an uppercase "X" (check curl's manual - "man curl") On 17/06/14 15:11, Andrew Beeken wrote:On dev and live I get: curl: (5) Couldn't resolve proxy 'GET' That¹s running from the command line. On 17/06/2014 14:51, "Sebastien Francois" <sf2@ecs.soton.ac.uk> wrote:Hello, Simple test: on your servers (dev, live), try getting the bazaar front page with (say) cURL. That will test if you're proxy'ed and if it works. "empty stream" seems to indicate you're not getting any content back from, what I presume, is the GET to the bazaar. (curl -X GET http://bazaar.eprints.org) Seb.*** Op |
- References:
- [EP-tech] Altmetrics
- From: Andrew Beeken <anbeeken@lincoln.ac.uk>
- [EP-tech] Re: Altmetrics
- From: Sebastien Francois <sf2@ecs.soton.ac.uk>
- [EP-tech] Re: Altmetrics
- From: Andrew Beeken <anbeeken@lincoln.ac.uk>
- [EP-tech] Re: Altmetrics
- From: Sebastien Francois <sf2@ecs.soton.ac.uk>
- [EP-tech] Re: Altmetrics
- From: Andrew Beeken <anbeeken@lincoln.ac.uk>
- [EP-tech] Re: Altmetrics
- From: Sebastien Francois <sf2@ecs.soton.ac.uk>
- [EP-tech] Re: Altmetrics
- From: Andrew Beeken <anbeeken@lincoln.ac.uk>
- [EP-tech] Re: Altmetrics
- From: Lizz Jennings <e.jennings@bath.ac.uk>
- [EP-tech] Altmetrics
- Prev by Date: [EP-tech] Re: Altmetrics
- Next by Date: [EP-tech] Search oddities
- Previous by thread: [EP-tech] Re: Altmetrics
- Next by thread: [EP-tech] Re: Altmetrics
- Index(es):