How to remove error messages - IIS7

前端 未结 3 1753
囚心锁ツ
囚心锁ツ 2020-12-17 21:25

I\'m wondering how to remove the error messages IIS7 adds to the top of the page.

I have my own 500 and 404 error pages served.

Not needing the error pages I

3条回答
  •  醉酒成梦
    2020-12-17 22:02

    Just for addtional information I'll share what helped me:

    
      
    
    

    In such setup I could see detailed errors when developing on my local machine, but they would not be shown to users when remote server is accessed from outside.

    You could find more information regarding errorMode here.

提交回复
热议问题