how to forbidden other site stealing my forum attachment ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • wangyu1314
    New Member
    • Jun 2005
    • 15
    • 3.8.11

    how to forbidden other site stealing my forum attachment ?

    My forum posts and attachments have been stolen much more by other site. and I write a nginx rule to prevent, without success, please guide.

    example this forum:


    and my attachments url as
    http://www.cnprint.org/bbs/attachmen...0&d=1359965752

    now I forbidden others site show my attachment, this rule don't work, please help me.

    location ~* ^/bbs/attachment+\.php?$
    {
    valid_referers none blocked *.cnprint.org server_names ~\.google\. ~\.baidu\. ~\.360\. ~\.bing\.;
    if ($invalid_referer) {
    # return 403;
    rewrite ^.*$ http://www.cnprint.org;
    }
    }
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...