[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EP-tech] Re: Altmetrics



Hi all,

Following up on this, I?ve just tested the issue on my virtual box while connected to my home broadband and I still get an ?Internal Server Error? with the same Apache issues. I?m beginning to think that this is not related to a proxy issue as the problem isn?t present here, and could be due to a problem in the system files/configuration. I have, however, no idea where to start debugging this. Any pointers would be very appreciated.

Andrew

From: Sebastien Francois <sf2 at ecs.soton.ac.uk<mailto:sf2 at ecs.soton.ac.uk>>
Reply-To: "eprints-tech at ecs.soton.ac.uk<mailto:eprints-tech at ecs.soton.ac.uk>" <eprints-tech at ecs.soton.ac.uk<mailto:eprints-tech at ecs.soton.ac.uk>>
Date: Tuesday, 17 June 2014 15:31
To: "eprints-tech at ecs.soton.ac.uk<mailto:eprints-tech at ecs.soton.ac.uk>" <eprints-tech at ecs.soton.ac.uk<mailto:eprints-tech at ecs.soton.ac.uk>>
Subject: [EP-tech] Re: Altmetrics

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 at ecs.soton.ac.uk><mailto:sf2 at 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 at ecs.soton.ac.uk><mailto:sf2 at 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



The University of Lincoln, located in the heart of the city of Lincoln, has established an international reputation based on high student satisfaction, excellent graduate employment and world-class research.

The information in this e-mail and any attachments may be confidential. If you have received this email in error please notify the sender immediately and remove it from your system. Do not disclose the contents to another person or take copies.

Email is not secure and may contain viruses. The University of Lincoln makes every effort to ensure email is sent without viruses, but cannot guarantee this and recommends recipients take appropriate precautions.

The University may monitor email traffic data and content in accordance with its policies and English law. Further information can be found at: http://www.lincoln.ac.uk/legal.