On 03/02/11 20:08, Gustaf Josefsson wrote:
But, it does seem like an ugly hack?
It's not that ugly. The 404 header was only introduced in MediaWiki 1.14, you're just reverting to the 1.13 behaviour, which worked well enough for many years. See bug 2585 for a discussion.
Isn't there any way to do this by changing .htaccess? ErrorDocument 404 Default doesn't work. Any other ideas?
Without any source code or documentation, we can only speculate. The fact that the implementation is faulty tells you that this is a hack applied by fsdata.se, it's not part of Apache. I doubt they would have bothered adding configuration code.
FSDATA can't be the only hosting provider out there who override it's users 404 page. I would like to figure this out and document it properly (since I spent hours on mediawiki.org before mailing here).
It's the first time I've heard of it. I would expect most providers to just use ErrorDocument, not to write their own Apache module.
-- Tim Starling