I installed mod cband and it works (basically) but I have problems with this: Code: <CBandClass googlebot_class> CBandClassDst 66.249.64/24 CBandClassDst 66.249.65/24 CBandClassDst 66.249.79/24 </CBandClass> CBandClassRemoteSpeed googlebot_class 20kb/s 2 3 When I put these lines into Apache Directives field (through ISPConfig admin interface) then I have #NOT SUPPORTED!# error ?? HELP!!
What's the output of Code: httpd -t after you've removed those #NOT SUPPORTED!#? Does the ServerName line come before the mod_cband directives? It's important that it does!
At this moment there are these directives included (through ISPConfig): --------------------------------------------------------------------- CBandPeriod 4W CBandScoreboard /var/run/apache2/cvecara-neven.com.scoreboard ---------------------------------------------------------------------- server201:~# httpd -t [Wed Sep 20 17:50:19 2006] [warn] module cache_module is already loaded, skipping [Wed Sep 20 17:50:19 2006] [warn] module cband_module is already loaded, skipping Syntax OK server201:~# ---------------------------------------------------------------------------- File /root/ispconfig/isp/conf/vhost.conf.master {FP_RESOURCE_CONFIG} {FP_ACCESS_CONFIG} ################################### # # ISPConfig vHost Configuration File # Version 1.0 # ################################### # <!-- BEGIN DYNAMIC BLOCK: namevhost --> {SERVERIP} <!-- END DYNAMIC BLOCK: namevhost --> # # <!-- BEGIN DYNAMIC BLOCK: vhost --> ###################################### # Vhost: {SERVERNAME} ###################################### # # <VirtualHost {IP}> {SUEXEC} ServerName {SERVERNAME} {HTTPD_INCLUDE} ServerAdmin {SERVERADMIN} DocumentRoot {DOCUMENTROOT} {SERVERALIAS} {DIRECTORYINDEX} {CGI} ErrorLog {WEB_ERROR_LOG} {PHP} {SSI} {WAP} {ERRORALIAS} {ERROR} AliasMatch ^/~([^/]+)(/(.*))? {HTTPD_ROOT}/{WEB}/user/$1/web/$3 AliasMatch ^/users/([^/]+)(/(.*))? {HTTPD_ROOT}/{WEB}/user/$1/web/$3 {REWRITE_RULE} {FRONTPAGE} </VirtualHost> # {SSL} # # <!-- END DYNAMIC BLOCK: vhost -->
When I add these directives: -------------------------------- <CBandClass googlebot_class> CBandClassDst 66.249.64/24 CBandClassDst 66.249.65/24 CBandClassDst 66.249.79/24 </CBandClass> CBandClassRemoteSpeed googlebot_class 20kb/s 2 3 -------------------------------------------------- and do this ----------------------------------------- server201:~# httpd -t [Wed Sep 20 17:56:52 2006] [warn] module cache_module is already loaded, skipping [Wed Sep 20 17:56:52 2006] [warn] module cband_module is already loaded, skipping Syntax OK server201:~# ----------------------------------------------- everything seems OK, until I restart Apache. Then there is again: ------------------------------------ # CBandPeriod 4W # NOT SUPPORTED! # CBandScoreboard /var/run/apache2/cvecara-neven.com.scoreboard # NOT SUPPORTED! # <CBandClass googlebot_class> # NOT SUPPORTED! # CBandClassDst 66.249.64/24 # NOT SUPPORTED! # CBandClassDst 66.249.65/24 # NOT SUPPORTED! # CBandClassDst 66.249.79/24 # NOT SUPPORTED! # </CBandClass> # NOT SUPPORTED! # # NOT SUPPORTED! # CBandClassRemoteSpeed googlebot_class 20kb/s 2 3 # NOT SUPPORTED! -----------------------------------------------------------
NOTE: Since I installed mod_cband I noticed unusually long time loading left side menu in ISPConfig. But, if I press "stop" button in Firefox then left side menu instantly become visible. I don't know is this related to mod_cband & ISPConfig or to Firefox & Java
################################### # # ISPConfig vHost Configuration File # Version 1.0 # ################################### # NameVirtualHost 192.168.123.201:80 <VirtualHost 192.168.123.201:80> ServerName localhost ServerAdmin root@localhost DocumentRoot /var/www/sharedip </VirtualHost> # # ###################################### # Vhost: www.web-hosting.co.yu:80 ###################################### # # <VirtualHost 192.168.123.201:80> SuexecUserGroup web1_nenad web1 ServerName www.web-hosting.co.yu:80 ServerAdmin [email protected] DocumentRoot /var/www/web1/web ServerAlias web-hosting.co.yu DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Default.htm default.htm ScriptAlias /cgi-bin/ /var/www/web1/cgi-bin/ AddHandler cgi-script .cgi AddHandler cgi-script .pl ErrorLog /var/www/web1/log/error.log AddType application/x-httpd-php .php .php3 .php4 .php5 php_admin_flag safe_mode Off AddType text/html .shtml AddOutputFilter INCLUDES .shtml AddType application/vnd.wap.wmlscriptc .wmlsc .wsc AddType text/vnd.wap.wml .wml AddType text/vnd.wap.wmlscript .ws .wmlscript AddType image/vnd.wap.wbmp .wbmp Alias /error/ "/var/www/web1/web/error/" ErrorDocument 400 /error/invalidSyntax.html ErrorDocument 401 /error/authorizationRequired.html ErrorDocument 403 /error/forbidden.html ErrorDocument 404 /error/fileNotFound.html ErrorDocument 405 /error/methodNotAllowed.html ErrorDocument 500 /error/internalServerError.html ErrorDocument 503 /error/overloaded.html AliasMatch ^/~([^/]+)(/(.*))? /var/www/web1/user/$1/web/$3 AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web1/user/$1/web/$3 </VirtualHost> # # # ###################################### # Vhost: www.cvecara-neven.com:80 ###################################### # # <VirtualHost 192.168.123.201:80> SuexecUserGroup web4_nenad web4 ServerName www.cvecara-neven.com:80 CBandPeriod 4W CBandScoreboard /var/run/apache2/cvecara-neven.com.scoreboard ServerAdmin [email protected] DocumentRoot /var/www/web4/web ServerAlias cvecara-neven.com DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Default.htm default.htm ScriptAlias /cgi-bin/ /var/www/web4/cgi-bin/ AddHandler cgi-script .cgi AddHandler cgi-script .pl ErrorLog /var/www/web4/log/error.log AddType application/x-httpd-php .php .php3 .php4 .php5 php_admin_flag safe_mode Off AddType text/html .shtml AddOutputFilter INCLUDES .shtml AddType application/vnd.wap.wmlscriptc .wmlsc .wsc AddType text/vnd.wap.wml .wml AddType text/vnd.wap.wmlscript .ws .wmlscript AddType image/vnd.wap.wbmp .wbmp Alias /error/ "/var/www/web4/web/error/" ErrorDocument 400 /error/invalidSyntax.html ErrorDocument 401 /error/authorizationRequired.html ErrorDocument 403 /error/forbidden.html ErrorDocument 404 /error/fileNotFound.html ErrorDocument 405 /error/methodNotAllowed.html ErrorDocument 500 /error/internalServerError.html ErrorDocument 503 /error/overloaded.html AliasMatch ^/~([^/]+)(/(.*))? /var/www/web4/user/$1/web/$3 AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web4/user/$1/web/$3 </VirtualHost> # # # ###################################### # Vhost: www.web-hosting-solutions.biz:80 ###################################### # # <VirtualHost 192.168.123.201:80> SuexecUserGroup web8_nenad web8 ServerName www.web-hosting-solutions.biz:80 ServerAdmin [email protected] DocumentRoot /var/www/web8/web ServerAlias web-hosting-solutions.biz DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Default.htm default.htm ScriptAlias /cgi-bin/ /var/www/web8/cgi-bin/ AddHandler cgi-script .cgi AddHandler cgi-script .pl ErrorLog /var/www/web8/log/error.log AddType application/x-httpd-php .php .php3 .php4 .php5 php_admin_flag safe_mode Off AddType text/html .shtml AddOutputFilter INCLUDES .shtml AddType application/vnd.wap.wmlscriptc .wmlsc .wsc AddType text/vnd.wap.wml .wml AddType text/vnd.wap.wmlscript .ws .wmlscript AddType image/vnd.wap.wbmp .wbmp Alias /error/ "/var/www/web8/web/error/" ErrorDocument 400 /error/invalidSyntax.html ErrorDocument 401 /error/authorizationRequired.html ErrorDocument 403 /error/forbidden.html ErrorDocument 404 /error/fileNotFound.html ErrorDocument 405 /error/methodNotAllowed.html ErrorDocument 500 /error/internalServerError.html ErrorDocument 503 /error/overloaded.html AliasMatch ^/~([^/]+)(/(.*))? /var/www/web8/user/$1/web/$3 AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web8/user/$1/web/$3 </VirtualHost> # <IfModule mod_ssl.c> <VirtualHost 192.168.123.201:443> SuexecUserGroup web8_nenad web8 ServerName www.web-hosting-solutions.biz:443 ServerAdmin [email protected] DocumentRoot /var/www/web8/web ServerAlias web-hosting-solutions.biz DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Default.htm default.htm ScriptAlias /cgi-bin/ /var/www/web8/cgi-bin/ AddHandler cgi-script .cgi AddHandler cgi-script .pl ErrorLog /var/www/web8/log/error.log AddType application/x-httpd-php .php .php3 .php4 .php5 php_admin_flag safe_mode Off AddType text/html .shtml AddOutputFilter INCLUDES .shtml AddType application/vnd.wap.wmlscriptc .wmlsc .wsc AddType text/vnd.wap.wml .wml AddType text/vnd.wap.wmlscript .ws .wmlscript AddType image/vnd.wap.wbmp .wbmp SSLEngine on SSLCertificateFile /var/www/web8/ssl/www.web-hosting-solutions.biz.crt SSLCertificateKeyFile /var/www/web8/ssl/www.web-hosting-solutions.biz.key Alias /error/ "/var/www/web8/web/error/" ErrorDocument 400 /error/invalidSyntax.html ErrorDocument 401 /error/authorizationRequired.html ErrorDocument 403 /error/forbidden.html ErrorDocument 404 /error/fileNotFound.html ErrorDocument 405 /error/methodNotAllowed.html ErrorDocument 500 /error/internalServerError.html ErrorDocument 503 /error/overloaded.html AliasMatch ^/~([^/]+)(/(.*))? /var/www/web8/user/$1/web/$3 AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web8/user/$1/web/$3 SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown downgrade-1.0 force-response-1.0 </VirtualHost> </IfModule> # #