I have a site that wants to close up to the public, and only allow access to people who come from its parent site (a different domain).
In other words... If you are at domain_one.com and click a link to domain_two.com, you will be allowed access - everyone else, coming from typing domain_two.com or from a bookmark, would be directed to a page telling them why they cant get access to the site.
javascript seems unreliable, and I couldnt get it to work anyhow. mod_rewrite seems like the best way... so I'm looking for a little advice please!
also, one note - the domain_one.com site runs on https - hope this doesnt pose a problem (I think I read it does make it tougher as referals arent passed when from a ssl site?)
thanks everyone!
Chris