Implemented 2 levels of redirection. (Can set Base directory).