https://bugzilla.wikimedia.org/show_bug.cgi?id=51700
Web browser: ---
Bug ID: 51700
Summary: https://login.wikimedia.beta.wmflabs.org/ trapped in
an infinte self redirect
Product: Wikimedia Labs
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: deployment-prep (beta)
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected],
[email protected], [email protected]
Classification: Unclassified
Mobile Platform: ---
On beta, https://login.wikimedia.beta.wmflabs.org/ redirect to itself:
HTTP/1.1 301 Moved Permanently
Server: nginx/1.1.19
Date: Fri, 19 Jul 2013 20:08:24 GMT
Content-Type: text/html; charset=iso-8859-1
Content-Length: 249
Connection: keep-alive
Location: https://login.wikimedia.beta.wmflabs.org/
X-Varnish: 51865472 51864739, 1498759040
Via: 1.1 varnish, 1.1 varnish
Accept-Ranges: bytes
Age: 329
X-Cache: deployment-cache-text1 hit (1), deployment-cache-text1 frontend miss
(0)
HTTP/1.1 301 Moved Permanently
Server: nginx/1.1.19
Date: Fri, 19 Jul 2013 20:08:24 GMT
Content-Type: text/html; charset=iso-8859-1
Content-Length: 249
Connection: keep-alive
Location: https://login.wikimedia.beta.wmflabs.org/
X-Varnish: 51865472 51864739, 1498759041 1498759040
Via: 1.1 varnish, 1.1 varnish
Accept-Ranges: bytes
Age: 329
X-Cache: deployment-cache-text1 hit (1), deployment-cache-text1 frontend hit
(1)
X-Cache: deployment-cache-text1 hit (1), deployment-cache-text1 frontend hit
(2)
X-Cache: deployment-cache-text1 hit (1), deployment-cache-text1 frontend hit
(3)
...
The Apache configuration in /data/project/apache/conf/loginwiki.php has:
RewriteEngine On
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteRule ^/(.*)$ https://login.wikimedia.beta.wmflabs.org/$1 [R=301,L]
On beta the protoproxy is local to the varnish cache (i.e. it is on
deployment-cache-text1). I guess it does not properly set the
"X-Forwarded-Proto: https" header.
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l