From a4bacbb3bd313eca0f0f87e0179d7a6e89df82d9 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Tue, 11 Oct 2005 07:14:41 +0000 Subject: [PATCH] - obsolete (some examples included in sources) Changed files: apache-mod_cband.conf.examples -> 1.2 --- apache-mod_cband.conf.examples | 105 --------------------------------- 1 file changed, 105 deletions(-) delete mode 100644 apache-mod_cband.conf.examples diff --git a/apache-mod_cband.conf.examples b/apache-mod_cband.conf.examples deleted file mode 100644 index fe715b0..0000000 --- a/apache-mod_cband.conf.examples +++ /dev/null @@ -1,105 +0,0 @@ - - -per-virtualhost bandwidth limiting configuration - Next, you may define virtualhosts bandwidth limits, URL locations and path to the scoreboard file for individual virtualhosts: - -# specify default 'bandwidth exceeded' location -CBandDefaultExceededURL http://haha.org/bandwidth_exceeded.html - - - DocumentRoot /var/www/xyz.org/ - ServerName xyz.org - CustomLog /var/log/apache2/xyz.org.access combined - ErrorLog /var/log/apache2/xyz.org.access.error - RewriteEngine On - RewriteOptions inherit - - # 100MB virtualhost bandwidth limit - CBandLimit 100000 - - # redirect to http://abc.org/bandwidth_exceeded.html - # when the limit has been reached - CBandExceededURL http://abc.org/bandwidth_exceeded.html - - # virtualhost's scoreboard file - CBandScoreboard /var/run/apache2/xyz.org.scoreboard - - - - -per-user bandwidth limiting configuration (only in 0.9.1 version) - In 0.9.1 you can define limits for users and assign virtualhosts to them - - -# define user 'dembol' - - # 200MB bandwidth limit for user 'dembol' - CBandUserLimit 200000 - - # redirect to http://abc.org/bandwidth_exceeded.html - # when the limit has been reached - CBandUserExceededURL http://abc.org/bandwidth_exceeded.html - - # user's scoreboard file - CBandUserScoreboard /var/run/apache2/dembol.scoreboard - - - - -# assign virtualhost 'xyz.org' to user 'dembol' - - ServerName xyz.org - # Specify virtualhost owner - CBandUser dembol - - -# assign virtualhost 'aga.org' to user 'dembol' - - ServerName aga.org - # Specify virtualhost owner - CBandUser dembol - - - - -per-user and per-virtualhost bandwidth limiting configuration (only in 0.9.1 version) - In 0.9.1 you can also mix per-user and per-virtualhost bandwidth limiting techniques - - -# define user 'dembol' - - # 200MB bandwidth limit for user 'dembol' - CBandUserLimit 200000 - - # redirect to http://abc.org/bandwidth_exceeded.html - # when the limit has been reached - CBandUserExceededURL http://abc.org/bandwidth_exceeded.html - - # user's scoreboard file - CBandUserScoreboard /var/run/apache2/dembol.scoreboard - - - -# assign virtualhost 'xyz.org' to user 'dembol' - - ServerName xyz.org - # Specify virtualhost owner - CBandUser dembol - - # 100MB virtualhost bandwidth limit - CBandLimit 100000 - - # redirect to http://abc.org/bandwidth_exceeded.html - # when the limit has been reached - CBandExceededURL http://abc.org/bandwidth_exceeded.html - - # virtualhost's scoreboard file - CBandScoreboard /var/run/apache2/xyz.org.scoreboard - - -# assign virtualhost 'aga.org' to user 'dembol' - - ServerName aga.org - # Specify virtualhost owner - CBandUser dembol - -- 2.43.0