Director is a router. Routing is the process of determining what code to run when a URL is requested.