I've got this strange issue on my Windows machine, when I browse to any website which has a dead link on it, instead of opening up the standard IE/FF "page cannot be found" page, it seems to be opening up the error page for my localhost server! In my .htaccess I have the following line: ErrorDocument 404 /error.php If I take this out then I don't get the problem. But this should only be effective for localhost, and not for external sites!