<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Perhaps try to find what's dealing with gzip at the Apache level
    (I've never seen such errors, so it's a wide guess)?<br>
    <br>
    I let you debug on your side, check:<br>
    <br>
    $ curl -X GET -v 10.11.161.159/cgi/local_login -H 'Accept-Encoding:
    gzip, deflate'<br>
    <br>
    &lt; HTTP/1.1 <b>401 Authorization Required</b><br>
    &lt; Date: Fri, 20 Apr 2012 11:01:58 GMT<br>
    &lt; Server: Apache/2.2.20 (Ubuntu)<br>
    &lt; Vary: Accept-Encoding<br>
    &lt; <b>Content-Encoding: gzip</b><br>
    &lt; Content-Length: 20<br>
    &lt; Content-Type: text/html; charset=iso-8859-1<br>
    #<br>
    # no content<br>
    #<br>
    <br>
    VS.<br>
    <br>
    $ curl -X GET -v 10.11.161.159/cgi/local_login<br>
    <br>
    &lt; HTTP/1.1 <b>200 OK</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp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p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <br>
    &lt; Content-Type: text/html; charset=utf-8<br>
    #<br>
    # html content follows (the login form)..<br>
    #<br>
    <br>
    Seb<br>
    <br>
    On 20/04/12 11:45, Alex Birchall wrote:
    <blockquote
cite="mid:FC5D3834842C2945916F894F40C7B21B865F4C4B02@WGFP-EXMAV1.uni.mdx.ac.uk"
      type="cite">
      <pre wrap="">Hi Seb,

We do not have mod_deflate in our Apache/http conf.

Alex

-----Original Message-----
From: <a class="moz-txt-link-abbreviated" href="mailto:eprints-tech-bounces@ecs.soton.ac.uk">eprints-tech-bounces@ecs.soton.ac.uk</a> [<a class="moz-txt-link-freetext" href="mailto:eprints-tech-bounces@ecs.soton.ac.uk">mailto:eprints-tech-bounces@ecs.soton.ac.uk</a>] On Behalf Of Sebastien Francois
Sent: 20 April 2012 10:44
To: <a class="moz-txt-link-abbreviated" href="mailto:eprints-tech@ecs.soton.ac.uk">eprints-tech@ecs.soton.ac.uk</a>
Subject: [EP-tech] Re: Unable to login after upgrading from 3.2.8 to 3.3.8

Hi Alex,

I'm getting an odd behaviour, perhaps because of a mis-configuration at the Apache level....

I run a few tests with cURL, and I noticed that when using the HTTP header 'Accept-Encoding: gzip, deflate' (note: this is sent by Firefox), your Apache server returns a 401 without content. Without that header, I get the content from EPrints as expected. I think this comes from Apache because the format of the 401 response doesn't look like EPrints'.

Check if you have mod_deflate (responsible for gzip/deflate) in your Apache/httpd conf, if so, disable it &amp; try again.

Seb.



On 19/04/12 19:06, Alex Birchall wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">Seb,

Yes, we are using a "special login" which you set up for us some months ago when we found that off-campus users could log into Eprints.

I tried:

firefox <a class="moz-txt-link-freetext" href="http://10.11.161.159/cgi/local_login"><font color="red"><b>MailScanner warning: numerical links are often malicious:</b></font> http://10.11.161.159/cgi/local_login</a>?
firefox <a class="moz-txt-link-freetext" href="http://10.11.161.159/cgi/users/home"><font color="red"><b>MailScanner warning: numerical links are often malicious:</b></font> http://10.11.161.159/cgi/users/home</a>?
firefox <a class="moz-txt-link-freetext" href="http://10.11.161.159/cgi/users/login"><font color="red"><b>MailScanner warning: numerical links are often malicious:</b></font> http://10.11.161.159/cgi/users/login</a>?

All the above fail to return anything.

Also, accessing <a class="moz-txt-link-freetext" href="http://10.11.161.159"><font color="red"><b>MailScanner warning: numerical links are often malicious:</b></font> http://10.11.161.159</a> with IE8 results in the top half of the home page being blackened out, as you will probably be able verify for yourself.

Regards,

Alex
</pre>
      </blockquote>
      <pre wrap="">
*** Options: <a class="moz-txt-link-freetext" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a>
*** Archive: <a class="moz-txt-link-freetext" href="http://www.eprints.org/tech.php/">http://www.eprints.org/tech.php/</a>
*** EPrints community wiki: <a class="moz-txt-link-freetext" href="http://wiki.eprints.org/">http://wiki.eprints.org/</a>
*** Options: <a class="moz-txt-link-freetext" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a>
*** Archive: <a class="moz-txt-link-freetext" href="http://www.eprints.org/tech.php/">http://www.eprints.org/tech.php/</a>
*** EPrints community wiki: <a class="moz-txt-link-freetext" href="http://wiki.eprints.org/">http://wiki.eprints.org/</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>