IIS7 custom 404 not showing

后端 未结 4 1439
-上瘾入骨i
-上瘾入骨i 2020-11-28 07:59

created a new IIS7 web site with Intergrated .net 4.0 app pool.

URLs ending with .aspx do show custom 404 anything else gives the blue server error page \"HTTP Error

4条回答
  •  孤城傲影
    2020-11-28 08:35

    I was having this issue with my web app and I got it resolved by commenting out the redirect line:

        
            
            
        
    

    On IIS, the allowAbsolutePathsWhenDelegated (on Configuration Editor --> system.webServer/httpErrors) was locked and I can't change the value false to true.

提交回复
热议问题