How can I store {REQUEST_URI} in a variable, manipulate it and then use it in a RewriteCond or RewriteRule?
Basically, here is what I am looking to do.
1.) Get the {REQUEST_URI} and change .shtml to .html, store this in a variable called URL_MOD
2.) Test for the existence of a file with that name of the newly created Variable called URL_MOD
3.) Based on the test result, redirect users to a domain with the URL_MOD appended.