I have the following code in my .htaccess file in the folder
http://localhost/modrewrite/test/
RewriteCond %{REQUEST_URI} ^modrewrite/.*$
RewriteRule b.html [L]
All I want to do is whenever I go to index.php in that above folder, i want it redirected to b.html. I know this can be done by just using
RewriteEngine on
RewriteRule index.php b.html [L]
but I want to use RewriteCond and %{REQUEST_URI} to see how it actually works. Thanks.