Toggle AMO-dev to the python login

RESOLVED FIXED

Status

Infrastructure & Operations
WebOps: Other
RESOLVED FIXED
7 years ago
5 years ago

People

(Reporter: clouserw, Assigned: oremj)

Tracking

Details

(Reporter)

Description

7 years ago
I'd like to switch our -dev site over to the python login and see how things work.  We've kept the PHP login around for this long because we've still had PHP pages but with marketplace coming down the line we need to get the new features python implements, so it's time to switch.  The PHP login should be preserved in case we still need it.  In summary, adjust rewrites to:

Move https://addons-dev.allizom.org/en-US/firefox/users/login to https://addons-dev.allizom.org/php/en-US/firefox/users/login

Move https://addons-dev.allizom.org/z/en-US/firefox/users/login to https://addons-dev.allizom.org/en-US/firefox/users/login

This goes for /login and /logout URLs.  I can help with rewrites.

Updated

7 years ago
Assignee: server-ops → jeremy.orem+bugs
(Reporter)

Comment 2

7 years ago
> Maybe we could have
> https://addons-dev.allizom.org/en-US/firefox/users/login.php instead? :)

sure, that makes sense
(Assignee)

Comment 3

7 years ago
> -    RewriteCond %{REQUEST_URI} !^(?:(?:/\w{2,3}(?:-\w{2})?)(?:/(?:firefox|seamonkey|thunderbird|mobile|sunbird))?)?/users?/log(out|in).*
> +    RewriteCond %{REQUEST_URI} !^(?:(?:/\w{2,3}(?:-\w{2})?)(?:/(?:firefox|seamonkey|thunderbird|mobile|sunbird))?)?/users?/log(out|in)\.php
>      RewriteRule ^((?:(?:/\w{2,3}(?:-\w{2})?)?(?:/(?:firefox|seamonkey|thunderbird|mobile|sunbird))?)?/users?.*)$ /z$1 [PT]
>
Status: NEW → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → FIXED
Component: Server Operations: Web Operations → WebOps: Other
Product: mozilla.org → Infrastructure & Operations
You need to log in before you can comment on or make changes to this bug.