Closed
Bug 561537
Opened 14 years ago
Closed 14 years ago
[k] Add nicer 404 and 500 handlers
Categories
(support.mozilla.org :: Knowledge Base Software, task, P2)
support.mozilla.org
Knowledge Base Software
Tracking
(Not tracked)
VERIFIED
FIXED
2.1
People
(Reporter: jsocol, Assigned: jsocol)
Details
Attachments
(2 files)
We should add friendlier-looking 404 and 500 pages in Kitsune. These pages would only appear when going to a Kitsune URL and getting a 404/500 (for example, going to /forums/non-existent-slug, or adding a trailing /). We can override the defaults by setting handler404 and handler500, respectively, in the root urls.py. These can be custom views (frex: sumo.views.handle404). In the 404 handler, it'd be nice to check for a trailing slash, and redirect to remove it. (The destination URL might still be a 404, but it would clean up the /search/ => 500 issue better than the .htaccess fix.)
Assignee | ||
Updated•14 years ago
|
Assignee: nobody → james
Summary: [k] Add nicer 404 and 500 pages → [k] Add nicer 404 and 500 handlers
Assignee | ||
Comment 1•14 years ago
|
||
WIP: http://github.com/jsocol/kitsune/commit/e339800, includes the 404 handler and moves around the basic search form a bit.
Assignee | ||
Comment 2•14 years ago
|
||
Pull requests sent for r? http://github.com/jsocol/kitsune/commits/561537-handlers
Comment 3•14 years ago
|
||
r+ at http://github.com/jsocol/kitsune/commit/92f7a277c3d376b98a80f6aaba6396ca7f90f731
Assignee | ||
Comment 4•14 years ago
|
||
http://github.com/jsocol/kitsune/commit/63b0a159 on forums branch QA: You won't see this on stage-new until we've merged the forums branch into development, which is hopefully soon.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Comment 5•14 years ago
|
||
Comment 6•14 years ago
|
||
Comment 7•14 years ago
|
||
404 page: http://support-stage-new.mozilla.com/k/en-US/meow 500 error: http://support-stage-new.mozilla.com/k/en-US/forums Verified FIXED.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•