I want the user to access http://www.xyz/internal/, then I need authentication and based on the user I will then send them to a subdirectory. So the scenario is, if user TOM goes to .../internal/ I want him having to log in and if the login is successful he is redirected to .../internal/tom/. Within that folder is a simple php script. If the user MIKE logs in I want him to redirect to .../internal/mike/
A rewriterule could be used to accomplish this.
or more generally