Sharepoint Web Application Http Redirect (Standard Error Pages: Http 404, 405, 500 & etc) RRS feed

  • 问题

  • Hi

    Recently, we have deployed Sharepoint 2007 on Windows 2008 x64bit. Everything went well, now we need to perform further customization on the standard page redirect when a common error such as (404, 405, 406, 412, 500, 501, 502) is hit but we are having difficulties get it setup.

    Further elaboration:

    When a user hit on a sharepoint page: http://sharepoint/pages/ it will return with the default.aspx page, but when user hit on a page http://sharepoint/pages/testing.aspx (when this page does not exist), it will return with the standard http 404 page error, but what we are looking at is to redirect the user to the homepage http://sharepoint/pages/default.aspx

    I have edit the web.config to add in the following code

    <customErrors mode="On" defaultRedirect="/Pages/Default.aspx">

    But it still redirect user to the standard http 404 page error...

    Can you kindly advice.


    Chris ong
    2010年7月26日 15:26