[Mono-list] Custom Error Pages

Gonzalo Paniagua Javier reply.to.the.list.iam.suscribed@notexists.ximian.com
Thu, 07 Apr 2005 21:06:39 -0400


On Fri, 2005-03-25 at 06:51 -0500, David P. Donahue wrote:
> I'm using mod_mono on an Apache web server.  I've set up Apache to use 
> custom pages for several error codes.  However, it seems that sometimes 
> the .NET side of things handles the error, depending on what error it is 
> and where in the directory hierarchy it's generated I think.  In any 
> event, if there a way to set Mono to use my custom error pages as well? 
>   Is this something I would do in Mono or in Visual Studio on the 
> project itself?

You can provide custom error pages with the .NET side. See the
documentation for the <customError> element in configuration files at
msdn.microsoft.com (machine.config / web.config).

-Gonzalo