Closed Bug 571542 Opened 14 years ago Closed 14 years ago

Temporarily redirect 404s from crash-stats to real SUMO searches

Categories

(support.mozilla.org :: Search, defect)

All
Other
defect
Not set
critical

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: jsocol, Assigned: jsocol)

References

Details

Attachments

(1 file)

crash-stats has a one-character typo that's sending SUMO searches to a 404. They've got a fix but it'll be a little while before that goes out and we're seeing a high rate of misses from this recently, so we'd like to temporarily redirect to the correct URL. Attaching an .htaccess patch now.
Attachment #450688 - Attachment is patch: true
Attachment #450688 - Attachment mime type: application/octet-stream → text/plain
Attachment #450688 - Flags: review?(laura)
Attachment #450688 - Flags: feedback?(jeremy.orem+bugs)
Summary: Temporarily redirect 404s from crash-stats to real searches → Temporarily redirect 404s from crash-stats to real SUMO searches
Assignee: server-ops → phong
Assignee: phong → jeremy.orem+bugs
Attachment #450688 - Flags: review?(laura) → review+
[root@mradm02 support.mozilla.com]# curl -s 'https://bug571542.bugzilla.mozilla.org/attachment.cgi?id=450688' | patch -p0 
patching file webroot/htaccess.dist

sh webroot/htaccess.sh 
activating ./webroot/pics/.htaccess
activating ./webroot/templates_c/.htaccess
activating ./webroot/styles/.htaccess
activating ./webroot/whelp/.htaccess
activating ./webroot/db/.htaccess
activating ./webroot/.htaccess
activating ./webroot/css/.htaccess
activating ./webroot/lib/fckeditor_tiki/.htaccess
activating ./webroot/lib/.htaccess
activating ./webroot/lib/fckeditor/.htaccess
activating ./webroot/popups/.htaccess
activating ./webroot/backups/.htaccess
activating ./webroot/doc/.htaccess
activating ./webroot/img-local/.htaccess
activating ./webroot/js/.htaccess
activating ./webroot/images/.htaccess
activating ./webroot/files/.htaccess
activating ./webroot/temp/.htaccess
activating ./webroot/lang/.htaccess
activating ./webroot/templates/.htaccess
activating ./webroot/components/.htaccess
activating ./webroot/dump.old/.htaccess
activating ./webroot/img.old/.htaccess
activating ./webroot/modules/.htaccess
activating ./webroot/tikimovies/.htaccess
activating ./webroot/games/.htaccess
activating ./webroot/bin/.htaccess
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
We made it work for en-US but not for everyone. I'll fix that up and get a new patch. It can go out Thursday with our other .htaccess patch.
Assignee: jeremy.orem+bugs → james
We have a patch in bug 571128 that fixes this and another htaccess issue. It will be fixed in the push in bug 572467.
Status: REOPENED → RESOLVED
Closed: 14 years ago14 years ago
Component: Server Operations: Web Content Push → Search
Depends on: 572467, 571128
Product: mozilla.org → support.mozilla.com
QA Contact: mrz → kb-software
Resolution: --- → FIXED
Version: other → unspecified
Vishal, can you please verify this one?  Thanks!
Attachment #450688 - Flags: feedback?(jeremy.orem+bugs)
(In reply to comment #6)
> http://support.mozilla.com/search/q=free+%7C+js_json_stringify%28JSContext%2A%2C+unsigned+int%2C+int%2A%29
> was 302'd into 
> 
> http://support.mozilla.com/en-US/search?q=free+|+js_json_stringify%28JSContext*,+unsigned+int,+int*%29
> for me on prod; was this pushed, there?

Change your Accept-Language and test it. The full fix was not pushed, it will be part of tomorrow's push.
OK, when I do that (comment 7), I'm taken to http://support-stage.mozilla.com/search?q=free+|+js_json_stringify%28JSContext*,+unsigned+int,+int*%29 which is a 404, and says:

The requested URL /k/k/search was not found on this server.

That was tested with both nl + de locales.
(In reply to comment #8)
> OK, when I do that (comment 7), I'm taken to
> http://support-stage.mozilla.com/search?q=free+|+js_json_stringify%28JSContext*,+unsigned+int,+int*%29
> which is a 404, and says:

Are you testing on support-stage or support-stage-new?
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: