简体   繁体   中英

Adding custom error page in IIS 7.0 in Windows 2008 Server

For my Web Application deployed in IIS, I need a default error page redirected to my custom error page.

I have included the custom error page in

Sites / Default Web Site / MyWebProject

Project Home -> IIS -> Error Pages -> MyCustomError.html

How should i map the default error page for any error ?

U can add the Error pages in the IIS Admin(Ref the Image Attached). Here U can select the Appropriate Error Code and add the Static page or any redirect URL to that page. make Sure the iis permissions in that folder.

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM