https://bugzilla.wikimedia.org/show_bug.cgi?id=18270





--- Comment #10 from Platonides <platoni...@gmail.com>  2009-04-12 22:05:41 UTC 
---
No, the problem is with IIS configuration, overriding the 404 page.

You can use this testcase:
<?php
header("HTTP/1.x 404 Not Found");
echo 'Nothing here, go to the <a href="/">main page</a>';
?>

The above php should show the text "Nothing here, go to the main page", but
with your configuration, it'll show the default IIS 404 error.


As a woraround, you can remove from Article.php the lines 841-843:
            if( $return404 ) {
                $wgRequest->response()->header( "HTTP/1.x 404 Not Found" );
            }

but it is NOT recommended.
The server config should be fixed instead.


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to