Welcome! Log In Create A New Profile

Advanced

how to forbidden other site stealing my forum attachment ?

June 20, 2016 01:22AM
Hello everyone,

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:
http://dysmyh.com/thread-41217-1-1.html

and my attachments url as
http://www.cnprint.org/bbs/attachment.php?attachmentid=205810&d=1359965752

and my forum domain is www.cnprint.org, and forum script put into /bbs/
directory.

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

I think should this line "location ~* ^/bbs/attachment+\.php?$" has
mistake, but I can't resolve it.

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;
}
}
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

how to forbidden other site stealing my forum attachment ?

wangyu1314 June 20, 2016 01:22AM

Re: how to forbidden other site stealing my forum attachment ?

Edho Arief June 20, 2016 01:32AM

Re: how to forbidden other site stealing my forum attachment ?

wangyu1314 June 20, 2016 01:46AM

Re: how to forbidden other site stealing my forum attachment ?

wangyu1314 June 20, 2016 01:56AM

Re: how to forbidden other site stealing my forum attachment ?

Edho Arief June 20, 2016 01:56AM

Re: how to forbidden other site stealing my forum attachment ?

wangyu1314 June 20, 2016 02:12AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 309
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready