Specify more than one directory in Web.Config's Location Path element

前端 未结 4 1901
青春惊慌失措
青春惊慌失措 2020-12-03 20:54

In my ASP.NET\'s Web Config file I have the following location elements defined:

  
    
      

        
4条回答
  •  粉色の甜心
    2020-12-03 21:10

    it is possible to set path to a specific folder. For example we have some aspx pages:

    • /data/pages/form1.aspx
    • /data/pages/form2.aspx
    • /data/pages/form3.aspx

    By creating this rule in web.config:

    
        
            
                
                    
                    
                
            
        
    
    

    All resources in data/pages will be affected.

提交回复
热议问题