Lets say for example I have a url
domain.com/somedir/
Now, I redirect that to
domain.com/somedir.php
( Thats easily done with header() )
But what if I wanted to redirect
domain.com/somedir/some1/some2/
to
domain.com/somedir.php/some1/some2/
This is on an IIS box so I cannot use mod_rewrite.
How would that work with header? Normally I'd throw $_SERVER['QUERY_STRING'] to the end but that doesn't work in this case