<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Yes, that will make any linux tool/most
      PERL libraries to use that proxy setting (eg wget, UA).<br>
      <br>
      However that file might be over-written by EPrints (it's
      auto-generated from the local conf).<br>
      <br>
      One way to have this into EPrints is to edit
      eprints/archives/&lt;id&gt;/cfg/cfg.d/session.pl (create it if it
      doesn't exist) and:<br>
      <tt><br>
      </tt><tt>$c-&gt;{session_init} = sub</tt><tt><br>
      </tt><tt>{</tt><tt><br>
      </tt><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; my( $repository, $offline ) = @_;</tt><tt><br>
      </tt><tt><br>
      </tt><b><tt>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; $ENV{http_proxy} =
          "<a class="moz-txt-link-freetext" href="http://wherever.your.proxy.is:3128/">http://wherever.your.proxy.is:3128/</a></tt></b><b><tt>";</tt></b><tt><br>
      </tt><tt>&nbsp;};</tt><br>
      <br>
      Then restart apache (perhaps the indexer too).<br>
      <br>
      Seb<br>
      <br>
      <br>
      On 17/06/14 15:34, Lizz Jennings wrote:<br>
    </div>
    <blockquote cite="mid:53A051F2.6060203@bath.ac.uk" type="cite">
      <pre wrap="">When I was having trouble with the EPrints Bazaar not loading, I found 
adding

SetEnv http_proxy <a class="moz-txt-link-freetext" href="http://wherever.your.proxy.is:3128/">http://wherever.your.proxy.is:3128/</a>

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:
</pre>
      <blockquote type="cite">
        <pre wrap="">Got it.

Yes, that&sup1;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" <a class="moz-txt-link-rfc2396E" href="mailto:sf2@ecs.soton.ac.uk">&lt;sf2@ecs.soton.ac.uk&gt;</a> wrote:

</pre>
        <blockquote type="cite">
          <pre wrap="">It's an uppercase "X" (check curl's manual - "man curl")

On 17/06/14 15:11, Andrew Beeken wrote:
</pre>
          <blockquote type="cite">
            <pre wrap="">On dev and live I get: curl: (5) Couldn't resolve proxy 'GET'

That&sup1;s running from the command line.

On 17/06/2014 14:51, "Sebastien Francois" <a class="moz-txt-link-rfc2396E" href="mailto:sf2@ecs.soton.ac.uk">&lt;sf2@ecs.soton.ac.uk&gt;</a> wrote:

</pre>
            <blockquote type="cite">
              <pre wrap="">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 <a class="moz-txt-link-freetext" href="http://bazaar.eprints.org">http://bazaar.eprints.org</a>)

Seb.

</pre>
            </blockquote>
          </blockquote>
          <pre wrap="">*** Op
</pre>
        </blockquote>
      </blockquote>
    </blockquote>
    <br>
  </body>
</html>