Last modified: 2012-05-03 07:22:30 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T38441, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 36441 - error document doesn't load on error
error document doesn't load on error
Status: RESOLVED FIXED
Product: Wikimedia Labs
Classification: Unclassified
deployment-prep (beta) (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Peter Bena
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-05-02 14:04 UTC by Peter Bena
Modified: 2012-05-03 07:22 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Peter Bena 2012-05-02 14:04:23 UTC
http://labs.wikimedia.beta.wmflabs.org/wiki/Special:RecentChanges

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

It used to display error page which was located in live/404.php, since we use het it's broken + 404.php disappear (obviously there is no documentation or even information that this change was done, so we don't even know who did it) I can recover it from backup, but it's gonna take a while
Comment 1 Antoine "hashar" Musso (WMF) 2012-05-03 06:35:05 UTC
There is a 404.php file in common-local/live-het/404.php which seems to be the docroot and is linked at /w/ , hence you get the nice 404 error with:

http://en.wikipedia.beta.wmflabs.org/w/404.php

Looking at the beta Apache configuration, we are missing an ErrorDocument statement:

 ErrorDocument 404 /w/404.php
Comment 2 Antoine "hashar" Musso (WMF) 2012-05-03 06:44:22 UTC
Added in main.conf, still need to reload Apaches though.
Comment 3 Antoine "hashar" Musso (WMF) 2012-05-03 07:22:30 UTC
Apache restarted, http://en.wikipedia.beta.wmflabs.org/IDONOTEXIST does give a nice 404 error page.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links