What is the difference in operation between . and ^ and ^(.*)$?
问题 What is the difference in operation between: RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^ index.php [L] and RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . index.php [L] and RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php [L] I know that "." means any character and "^" beginning of string. Thanks for reply! 回答1: First let's understand how landing page is matched.