Forms auth redirecting css/script includes to the login page with HTTP 302

前端 未结 5 1013
悲哀的现实
悲哀的现实 2020-12-07 23:16

I have some includes on a login page, a css file and a js file.



        
5条回答
  •  孤城傲影
    2020-12-07 23:25

    You need to exclude the css files and images from getting authenticated as following in the configuration file. Using the location tag you can exclude a single file or a directory.

    
        
            
                
            
        
    
    

提交回复
热议问题