Please help me take a look, I only know that the second one means, if it is not a file or folder, redirect to
For example, visit http://www.abc.com/def
http://www.abc.com/index.php?_url=/def
nginx officially has this document...but I can't understand it...
http://nginx.org/en/docs/http/converting_rewrite_rules.html
RewriteEngine on
RewriteRule ^$ public/ [L]
RewriteRule (.*) public/$1 [L]
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php?_url=/$1 [QSA,L]
here