IIS7 and ARR as reverse proxy for Subversion

前端 未结 2 1050
轮回少年
轮回少年 2021-02-04 13:10

I am using IIS7 and the Application Request Routing extension to act as a reverse proxy to Subversion running on Apache.

The proxy works fine and I am able to explore t

2条回答
  •  傲寒
    傲寒 (楼主)
    2021-02-04 13:30

    IIS7 has an applicationHost.config file which has a security section that limits file extensions:

    
      
        
        
        
        
        ....
      
    

    More information:

    http://learn.iis.net/page.aspx/143/how-to-use-request-filtering/

    I added a similar section to my site's web.config and used a node to remove all extensions. Now I can serve .cs, .csproj files and others, but I cannot serve .config files yet.

    Edit: Removing the hiddenSection nodes corrected this for web.config files too. Here is my local web.config file:

    
      
        
          
            
          
          
          
            
          
        
      
    
    

提交回复
热议问题