Error Document handling issues

    Date: 04/14/06 (Web Development)    Keywords: php, browser, apache

    Hello everyone

    I've set the ErrorDocument in apache's .htaccess file to point to a particular php script. The latter outputs an image. That way I'm trying to output an image which actually does not exist under the url.

    Basically this works fine with browsers, however when I try to give the image to a script (which I do not have access to) I get an error.

    My two areas of concern are the following, is it possible for the user agent to however know that he is getting a response generated by an error handler, rather than the real thing?

    If not it might be that I'm providing bad headers, since browsers are much more tolerant than the RFCs. Basically all I'm sending out is a "content-type", nothing more. Might this be too little?

    Best,
    Narek

    Source: http://community.livejournal.com/webdev/314178.html

« MySql online reference... || Hi all! »


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