Laravel .htaccess rewrite rule conversion to IIS

后端 未结 3 1605
南方客
南方客 2020-12-09 12:09

Laravel4 framework comes with a default .htaccess rule for create pretty urls.

The rule is this.


    Options -MultiVie         


        
3条回答
  •  再見小時候
    2020-12-09 12:53

    You can use the import Apache rules feature to convert Apache rule to IIS.

    In your case, it will go as:

    import

    Or in the web.config file:

    
        
        
            
        
        
    
    

提交回复
热议问题