You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Maxwell Moon <mm...@home.com> on 2000/03/15 20:20:09 UTC

Apache::ASP ($Response->ErrorDocument()API Extension)

The example, both from the http://www.nodeworks.com/asp/eg/index.html and 
the latest locally installed Apache-ASP-0.18.tar.gz of the
$Response->ErrorDocument()API Extension does not return the custom error 
document, but rather the default '404' page.


Maxwell Moon
I/T Director - Retired
AT&T WorldNet Service
mmoon9@home.com
Home PH:  (941) 918-1260
PGP KeyServer: ldap://pgp.surfnet.nl:11370

Re: Apache::ASP ($Response->ErrorDocument()API Extension)

Posted by Joshua Chamas <jo...@chamas.com>.
Maxwell Moon wrote:
> 
> The example, both from the http://www.nodeworks.com/asp/eg/index.html and the latest locally installed Apache-ASP-0.18.tar.gz of the
> $Response->ErrorDocument()API Extension does not return the custom error document, but rather the default '404' page.
> 
> 

Maybe if you are using IE you won't be able to see it, but
check out http://www.nodeworks.com/asp/eg/error_document.htm
with Netscape and it reads

==

This is a custom response for the 404 error, that this script just created, utilizing
the $Response->ErrorDocument($error_code, $uri) method. 

view this file's source 

==

which is a custom error response.

-- Joshua
_________________________________________________________________
Joshua Chamas			        Chamas Enterprises Inc.
NodeWorks >> free web link monitoring	Huntington Beach, CA  USA 
http://www.nodeworks.com                1-714-625-4051