I am building a website and we are using a virtual role to restrict access to certain parts of the site. I have tested this and it works correctly but now I just get a 401 error page when I go to one of the pages and IsInVirtualRole returns false. What I would like to do is redirect the user to a specific login page if they are unauthorised to view a page due to not being in this specific virtual group.
How can I do this?