summarylogtreecommitdiffstats
path: root/apache-mod_bw.install
blob: 0b7a8f3fa5062759545af61ae9e3fae9623c59c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
post_install()
{

   PATH="$PATH:/sbin"
   ldconfig -n /usr/lib/httpd/modules

/bin/cat <<EOT

Setting it up
-------------

1. add the following to /etc/httpd/conf/httpd.conf
		LoadModule bw_module	modules/mod_bw.so

2. add the module settings to httpd.conf
		<IfModule mod_bw.c>
			#Some bandwidth control parameters.
			BandwidthModule On
			ForceBandWidthModule On
			LargeFileLimit .mp3 1 30000
		</IfModule>

EOT
}

op=$1
shift
$op $*