Securing Elmah in ASP.NET website

后端 未结 4 850
难免孤独
难免孤独 2020-12-07 08:05

I am having trouble trying to secure ELMAH. I have followed Phil Haacked\'s tutorial, with the only difference being the demo project is a web application and my project is

4条回答
  •  不知归路
    2020-12-07 08:25

    In IIS 7.5 windows server 2008, there is another section called system.webServer. In order for ELMAH to work, this had to be added:

    
      
        
      
    
    

    I've tried a few variances, but I am unable to use the above solution for preventing '/blah/elmah.axd' from working.

    Any Suggestions on making the above solution work for IIS 7.x?

    Thanks.

提交回复
热议问题