I want to internally rewrite one request to another and modify the REQUEST_URI. The problem is that in my rewritten request, the REQUEST_URI php sees is still the original one. I see that there is a SERVER['REDIRECT_REDIRECT_REQUEST_URI'] that gets created with the code I've pasted below. How can I formulate a rewrite rule that properly *changes* the request_uri value?
RewriteRule .* /a/b/c/ [E=REQUEST_URI:/a/b/c/]
<?php
echo $_SERVER['REQUEST_URI'];
?>
What am I doing wrong?
Thank you!!!
Jon