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