Redirect url if referrer isn't current domain name
===

I am trying to redirect to another page if any users try to access the members area via url. 

    RewriteEngine On
    RewriteBase /
    RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?(?!test\.jason\.ca) [NC]
    Rewriterule ^ http://test\.jason\.ca [R,L] 

So I want it to kick them to the home page if they try to access any url without the referrer being the domain name. I know I am doing this wrong, but I don't know what yet. Any ideas?