After setting up mod_cband, I’ve tried to restart Apache2. Apache is restarting, but is displaying a message like the following one:
1 | [Sat Dec 23 00:38:01 2006] [warn] Invalid command 'CBandLimit', undefined virtualhost name |
Some searching through the internet brought up a solution for my problem.
In my virtual-host configuration I’ve added the mod_cband-specific entries at the top.
And that’s my mistake. Every directive specific to mod_cband must be added after the ServerName-directive. As you might realized, if you want to use mod_cband, you have to add the ServerName-directive to your virtual-host configuration.
HTH.