Redirect handling with VirtualService

Web app with multiple pages. Currently I have to specify each page to allow redirects
like /login /logout etc. What is generic way to allow redirecting? /* does not seem to work. There is just one web app so I need to just send all redirects to that one service. What is the proper syntax for this?