在以下方面的运作有何不同:
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^ index.php [L]和
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php [L]和
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php [L]我知道“”表示字符串的任何字符和"^“开头。
谢谢你的回复!
发布于 2015-10-24 15:28:53
首先,让我们了解登陆页面是如何匹配的。
对于登陆页URI模式,^$在.htaccess中,^/$在Apache中。因此,您可以安全地普遍使用^/?$。
http://domain.com/**)**. )^$ URI模式。^。https://stackoverflow.com/questions/33319815
复制相似问题