The rewrite rule in laravel's .htaccess file is
RewriteRule ^ index.php
Now when I visit a url say site/public/home the request url according to server variable is site/public/home. My question is , based on what I understand this rule rewrites beginning of the url, so it must be like index.phpsite/public/home.
What part of url is being replaced by "index.php" and how does it appear in server variable as if nothing happened to it? Also does this mean that url rewrites from htacces file doesn't affect the url stored in server variable?