Closed Bug 1050273 Opened 11 years ago Closed 11 years ago

[basket] Admin is redirecting strangely

Categories

(Infrastructure & Operations Graveyard :: WebOps: Product Delivery, task)

task
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: pmac, Assigned: cturra)

References

()

Details

(Whiteboard: [kanban:https://kanbanize.com/ctrl_board/4/702] )

STR: 1) Go to basket admin: https://basket.mozilla.org/admin/ 2) see error about redirection Expected: See basket login admin curl shows that a request to the URL in step 1 above returns a 301 to the same url. I'm not sure when this started, but I saw it for the first time this morning.
Whiteboard: [kanban:https://kanbanize.com/ctrl_board/4/702]
i just had a look at the apache config and there is nothing in there that does a redirect for the /admin url. could this redirect be coming from django? $ grep admin domains/basket.mozilla.org.conf Alias /admin-media/ /data/www/basket.mozilla.org/basket/vendor/src/django/django/contrib/admin/media/
Flags: needinfo?(pmac)
Me either. Something's changed recently because it's been working just fine for a year or more. Just started doing this. I've no ideas so far. No new version of the app has been deployed recently.
Flags: needinfo?(pmac)
Assignee: server-ops-webops → cturra
looks like i tracked this down to an apache config change :jakem had made on 07/29. i have reverted those changes and it looks like /admin is now working correctly. $ curl -IL https://basket.mozilla.org/admin/ HTTP/1.1 200 OK Server: Apache Vary: Cookie, Accept-Encoding X-Backend-Server: generic3.webapp.phx1.mozilla.com Cache-Control: max-age=0 Content-Type: text/html; charset=utf-8 Strict-Transport-Security: max-age=15768000 ; includeSubDomains Date: Thu, 07 Aug 2014 16:48:05 GMT Expires: Thu, 07 Aug 2014 16:48:05 GMT Transfer-Encoding: chunked Connection: Keep-Alive Set-Cookie: csrftoken=kZ6eBUi0kX8KwbrMkRhCQKFUEzGrFLNM; expires=Thu, 06-Aug-2015 16:48:05 GMT; Max-Age=31449600; Path=/; secure Set-Cookie: sessionid=scg21umrg9bur5w8e7ostdvvtey79ksz; expires=Thu, 21-Aug-2014 16:48:05 GMT; httponly; Max-Age=1209600; Path=/; secure Last-Modified: Thu, 07 Aug 2014 16:48:05 GMT X-Cache-Info: not cacheable; response specified max-age <= 0
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Nice work! Confirmed that admin is working again.
Status: RESOLVED → VERIFIED
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in before you can comment on or make changes to this bug.