Securing Elmah in ASP.NET website

后端 未结 4 848
难免孤独
难免孤独 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:29

    I played around with the web.config and got the following to work. Basically instead of putting the elmah.axd HttpHandler in the general system.web, add it specifically in the system.web of your "admin" path location.

    
        
            
                
            
            
                
            
        
    
    

提交回复
热议问题