Hello, everyone.
Nearly, I seem my website bandwidth increase.
I checked log, Some of unknown webpage fetch resize images directly.
These comsunption server's CPU and bandwidth.
How forbid these unwant link perfect?
Or Gallery nor Apache all OK.
(default block all of directly link, But allow specifical link)
(Now I use mod_security and filter source URL in http header From: field.)
Have Gallery about function or module?
Thanks you very much.
Posts: 4342
the urlrewrite module lets you do some stuff for unknown referrers; otherwise you can do this with a direct entry in the .htacess file, in the mod_rewrite rules, without going through Gallery. I don't know the exact entry off hand, but I'm sure the answer is available via google.
Posts: 21
Thanks you
I plan use apache module mod_security, Filter URL if have "core.DownloadItem" and referrers is not my server to block access.
(I think all of "core.DownloadItem" is gallery2 image)
And bot(google msn etc) is whitelist.
Is it correct?
Thanks you.
Posts: 4342
I don't know anything about mod_security, so I can't say. Hopefully someone who does will be able to answer you here.
Posts: 21
Sorry
mod_security is modules
It can filter anyothing(http header,url,body,response ect)
And do anything(block,deny,ignore,pass,delay pass,log etc) when filter match.
Thanks you.
Posts: 16504
The only thing I know about mod_security is that disabling it seems to solve lots of problems....
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 21
Oh, But mod_security work fine...