fake 404 error redirection.

    Date: 10/04/05 (PHP Development)    Keywords: php, apache

    ok, so maybe I have this thought out incorrectly, so I am looking for some advice.

    In my apache config we have

    ErrorDocument 404 /path/to/file.php

    so that anything that receives a 404 response should get redirected...

    I have a script..

    header("HTTP/1.1 404 Not Found");
    ?>

    This sends a 404 message. I would expect it to redirect to the ErrorDocument, but it doesn't Is this what is suppose to happen? or am I missing a piece to the puzzle?

    Source: http://community.livejournal.com/php_dev/60484.html

« JS form validation,... || clickable url's & emails »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home