my site just got spoof.
I'm using RoR 3.2.11 and I installed the rack-rewrite gem.
I created the /middleware dir inside /app and I created a .rb file inside.
Now, how should I write the rule to only allow requests coming from my page?
Thanks!
my site just got spoof.
I'm using RoR 3.2.11 and I installed the rack-rewrite gem.
I created the /middleware dir inside /app and I created a .rb file inside.
Now, how should I write the rule to only allow requests coming from my page?
Thanks!
If someone's making a copy of your site using HTTP scraping there's usually not much you can do other than make their life difficult and be annoying.
You'll need to consider that anything you do to make it more difficult for another site to clone yours will make it very difficult for ordinary readers. Force registration? You'll lose visitors. Encrypt page and require JavaScript? You'll lose readers.
I'd suggest blocking the IPs of the robots you don't like, filing a report with their ISP about copyright infringement, and if things are really bad, engage a lawyer.