We cannot get a custom error for an http 404 to work correctly. We have it defined in the web.config on the server level, IIS root, and in the web directory. If someone entershttp://host.com/IIS/dir1/menua.aspx (a valid directory string but invalid file name) we get the generic IIS 404 error. However, if a directory name in the path is incorrect we get our custom error page (eg:http://host.com/IIS/dir1a/menu.aspx). The full correct path to the page would behttp://host.com/IIS/dir1/menu.aspx. Any suggestions are greatly appreciated.
↧