How to redirect non-logged in users from a URL to a specific page?

How to redirect non-logged in users from a URL to a specific page?