What does $1 [QSA,L] mean in my .htaccess file?

前端 未结 3 508
北荒
北荒 2020-11-28 19:48

I need to change my .htaccess and there are two lines which I don\'t understand.

RewriteCond %{REQUEST_FILENAME} !-l

RewriteRule ^(.+)$ index.p         


        
3条回答
  •  旧巷少年郎
    2020-11-28 20:07

    This will capture requests for files like version, release, and README.md, etc. which should be treated either as endpoints, if defined (as in the case of /release), or as "not found."

提交回复
热议问题