I'm working with Rahul on this...
1) URL rewrite is what we want, thanks for clarifying.
2) Let's say we want all pages, after the domain name to be handled by environment_test.php. How would you update your htaccess for that?
Meaning, we want...
...all to be handled by environment_test.php. The application will take it from there in terms of producing an output.
3) Then, how would we throw in an exception? Say we have a file that if it is accessed in the URL, we want it to this to actually load the file they're requesting. For example...
Can we make it so anything in the /app/ folder will actually run if the file being requested (run.php) exists?
4) Lastly, we will use this for dev/staging/production - can we insert a wildcard for the domains?