Closed Bug 608806 Opened 14 years ago Closed 14 years ago

stage MDN ReWrite tweaks

Categories

(mozilla.org Graveyard :: Server Operations, task)

task
Not set
minor

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: ozten, Assigned: oremj)

References

()

Details

1) Django Locale Redirect Issue
https://developer-stage9.mozilla.org/de/docs should display docs, but redirects to
https://developer-stage9.mozilla.org/en-US/de/docs

Apache is doing a 301

This issue is present for /de/addons, /de/mobile, and /de/web

Do work properly:
https://developer-stage9.mozilla.org/en-US/docs    (django)
https://developer-stage9.mozilla.org/En/Javascript (deki)
https://developer-stage9.mozilla.org/De/Javascript (deki)

2) Root locales go to deki instead of Django
https://developer-stage9.mozilla.org/de
Shows deki content, instead of Django content like
http://mdn.staging.mozilla.com/de/

3) Django codebase doesn't seem to be the latest.
Compare http://mdn.staging.mozilla.com/en-US/
to      https://developer-stage9.mozilla.org/en-US/

"Apps" is in the header and there are links to /apps. This is "Mozilla" on http://mdn.staging.mozilla.com/en-US/
Blocks: 602952
Assignee: server-ops → jeremy.orem+bugs
4) stage9 lacks a robots.txt

https://developer-stage9.mozilla.org/robots.txt is 404.

This should match
https://developer-stage.mozilla.org/robots.txt
#1 wfm
#2 I don't think you gave me a rewrite that dealt with root urls. What should be added?
#3 Auto-updates now.
#4 done.
 

Assigning to Austin for #2.
Assignee: jeremy.orem+bugs → ozten.bugs
OS: Other → All
(In reply to comment #2)
Here is #2
RewriteRule ^/([a-z]{2}([_-][a-zA-Z][a-zA-Z])?/?)$ /mwsgi/$1 [PT,L]
Assignee: ozten.bugs → jeremy.orem+bugs
Added.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
verified fixed
Status: RESOLVED → VERIFIED
Product: mozilla.org → mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.