On Friday 03 March 2006 02:24, A. Khattri wrote: > I have a web server with a virthost that has huge amounts of traffic > because everyone (and his grandmother) links to images in that site. > > I was wondering if there was a clever way to check the referrer page and > deny requests for pages that are *not* on the site? > > Ive also installed mod_throttle too and would love to manage total > bandwidth per virthost (i.e. set a total of say, 5Gb per month, and after > that deny requests).
the mod_rewrite tip is a good one but only if you accept denying access through hotlinking. mod_throttle, mod_bw, mod_bwshare, mod_bandwidth, mod_cband may be worth some investigation as they all (in one way or another) do bandwidth limiting/accounting/throttling. all of them exist in portage. Cheers, -- Pedro João Lopes Venda email: pjvenda at pjvenda org http://www.pjvenda.org
pgplW02GwwBOW.pgp
Description: PGP signature
